{"id":"CVE-2026-33041","aliases":["CVE-2026-33041","GHSA-px7x-gq96-rmp5"],"related":[],"kind":"vulnerability","state":"published","title":"AVideo has an Unauthenticated Password Hash Oracle via encryptPass.json.php","summary":"WWBN AVideo is an open source video platform. In versions 25.0 and below, /objects/encryptPass.json.php exposes the application's password hashing algorithm to any unauthenticated user. An attacker can submit arbitrary passwords and receive their hashed equivalents, enabling offline password cracking against leaked database hashes. If an attacker obtains password hashes from the database (via SQL injection, backup exposure, etc.), they can instantly crack them by comparing against pre-computed hashes from this endpoint. This endpoint eliminates the need for an attacker to reverse-engineer the hashing algorithm. Combined with the weak hash chain (md5+whirlpool+sha1, no salt by default), an attacker with access to database hashes can crack passwords extremely quickly. This issue was fixed in version 26.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"WWBN AVideo is an open source video platform. In versions 25.0 and below, /objects/encryptPass.json.php exposes the application's password hashing algorithm to any unauthenticated user. An attacker can submit arbitrary passwords and receive their hashed equivalents, enabling offline password cracking against leaked database hashes. If an attacker obtains password hashes from the database (via SQL injection, backup exposure, etc.), they can instantly crack them by comparing against pre-computed hashes from this endpoint. This endpoint eliminates the need for an attacker to reverse-engineer the hashing algorithm. Combined with the weak hash chain (md5+whirlpool+sha1, no salt by default), an attacker with access to database hashes can crack passwords extremely quickly. This issue was fixed in version 26.0.","source":"cvelist"},{"lang":"en","text":"### Summary\n\n`/objects/encryptPass.json.php` exposes the application's password hashing algorithm to any unauthenticated user. An attacker can submit arbitrary passwords and receive their hashed equivalents, enabling offline password cracking against leaked database hashes.\n\n### Details\n\n**File:** `objects/encryptPass.json.php`\n\n```php\n$obj->password = @$_REQUEST['pass'];\n$obj->encryptedPassword = encryptPassword($obj->password);\necho json_encode($obj);\n```\n\nNo authentication is required. The `encryptPassword()` function in `objects/functions.php` (line ~2101) uses:\n\n```php\nfunction encryptPassword($password, $noSalt = false) {\n    if (!empty($advancedCustomUser->encryptPasswordsWithSalt) && !empty($global['salt']) && empty($noSalt)) {\n        $password .= $global['salt'];\n    }\n    return md5(hash('whirlpool', sha1($password)));\n}\n```\n\nBy default, salt is NOT enabled (`encryptPasswordsWithSalt` is off), making the hash deterministic and identical to what's stored in the database.\n\n### PoC\n\n```bash\n# Get the hash for any password\ncurl 'https://TARGET/objects/encryptPass.json.php?pass=admin123'\n# Response: {\"password\":\"admin123\",\"encryptedPassword\":\"<hash>\"}\n\n# Build a rainbow table for common passwords\nfor pass in $(cat rockyou-top1000.txt); do\n  curl -s \"https://TARGET/objects/encryptPass.json.php?pass=$pass\"\ndone\n```\n\nIf an attacker obtains password hashes from the database (via SQL injection, backup exposure, etc.), they can instantly crack them by comparing against pre-computed hashes from this endpoint.\n\n### Impact\n\n**Password Cracking Acceleration** — This endpoint eliminates the need for an attacker to reverse-engineer the hashing algorithm. Combined with the weak hash chain (md5+whirlpool+sha1, no salt by default), an attacker with access to database hashes can crack passwords extremely quickly.\n\nAdditionally, this reveals whether salt is enabled and the exact hashing implementation, which is sensitive cryptographic configuration.","format":"markdown","source":"ghsa"},{"lang":"es","text":"WWBN AVideo es una plataforma de video de código abierto. En las versiones 25.0 e inferiores, /objects/encryptPass.json.php expone el algoritmo de hash de contraseñas de la aplicación a cualquier usuario no autenticado. Un atacante puede enviar contraseñas arbitrarias y recibir sus equivalentes hasheados, lo que permite el cracking de contraseñas offline contra hashes de bases de datos filtrados. Si un atacante obtiene hashes de contraseñas de la base de datos (mediante inyección SQL, exposición de copias de seguridad, etc.), puede descifrarlos instantáneamente comparándolos con hashes precalculados de este endpoint. Este endpoint elimina la necesidad de que un atacante realice ingeniería inversa del algoritmo de hash. Combinado con la débil cadena de hash (md5+whirlpool+sha1, sin salt por defecto), un atacante con acceso a los hashes de la base de datos puede descifrar contraseñas extremadamente rápido. Este problema se solucionó en la versión 26.0.","source":"nvd"}],"published":"2026-03-17T19:48:35.000Z","modified":"2026-06-17T10:36:51.280Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-200"],"affected":[{"ranges":[{"version":"< 26.0","status":"affected"}],"vendor":"WWBN","product":"AVideo","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"25.0"}],"ecosystem":"Packagist","package":"wwbn/avideo","purl":"pkg:composer/wwbn/avideo","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"26.0"}],"vendor":"wwbn","product":"avideo","cpe":"cpe:2.3:a:wwbn:avideo:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/WWBN/AVideo/security/advisories/GHSA-px7x-gq96-rmp5","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/WWBN/AVideo/commit/ea2efd04464560cca93c9ab48b445dbb944a4e46","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33041","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/WWBN/AVideo","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-03-20T15:51:13.925Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33041","url":"https://www.cve.org/CVERecord?id=CVE-2026-33041","licence":"CVE Terms of Use","modified":"2026-03-20T15:51:35.423Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-px7x-gq96-rmp5","url":"https://github.com/advisories/GHSA-px7x-gq96-rmp5","licence":"CC-BY-4.0","modified":"2026-03-20T21:35:53.853Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33041","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33041","licence":"Public domain","modified":"2026-06-17T10:36:51.280Z"}],"updatedAt":"2026-11-25T22:59:16.285Z","epss":{"score":0.00368,"percentile":0.32744,"date":"2026-12-01T12:00:22.000Z"}}