Descrizione
Frogman provides headless PBX control through MCP and HTTP API. Prior to 1.6.2, Frogman stored API tokens generated by Tools/CreateApiToken.php:33-36 as raw bin2hex(random_bytes(32)) strings in oc_api_tokens, and Frogman.class.php:78 authenticated the X-Frogman-Token header by comparing it with the stored raw value, allowing database read access to recover reusable active tokens at their assigned permission level, including admin. This issue is fixed in version 1.6.2.
Tipo di vulnerabilità
CWE-256
Plaintext Storage of a Password
The product stores a password in plaintext within resources such as memory or files.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi |
Ottenere privilegi o assumere un’altra identità |
Come si previene
Architettura e progettazione
Avoid storing passwords in easily accessible locations.
Architettura e progettazione
Consider storing cryptographic hashes of passwords as an alternative to storing in plaintext.
A programmer might attempt to remedy the password management problem by obscuring the password with an encoding function, such as base 64 encoding, but this effort does not adequately protect the password because the encoding can be detected and decoded easily.
Tutte le 151 CVE di tipo CWE-256, con andamento e prevenzione