WebP Express <= 0.25.15 - Unauthenticated Authorization Bypass via Malformed Bcrypt Salt via 'salt' and 'api-key-crypted' Parameters
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| roselldk | WebP Express | unaffected |
|
No data.
No data.
No data available yet.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Description | The WebP Express plugin for WordPress is vulnerable to Authorization Bypass via Malformed Bcrypt Salt in all versions up to, and including, 0.25.15. This is due to insufficient validation of the attacker-supplied `salt` POST parameter in the `runAccessChecks()` function, which passes the unvalidated salt directly to PHP's `crypt()` — causing it to return an empty string when the salt contains characters outside the valid bcrypt alphabet `[./0-9A-Za-z]` — and then loosely compares the resulting empty string against the attacker-controlled `api-key-crypted` POST parameter using `==`, allowing an empty submission to match and satisfy the check. This makes it possible for unauthenticated attackers to bypass the web service API-key authentication check and upload arbitrary image files to the cloud-conversion endpoint, where they persist at a predictable, publicly reachable path under `wp-content/webp-express/webp-images/wpc/`. The 'Require api-key to be crypted in transfer?' whitelist setting does not mitigate this bypass, as it only gates the plaintext API-key comparison branch and has no effect on the crypted-key branch containing the vulnerable logic. | |
| Title | WebP Express <= 0.25.15 - Unauthenticated Authorization Bypass via Malformed Bcrypt Salt via 'salt' and 'api-key-crypted' Parameters | |
| Weaknesses | CWE-285 | |
| References |
|
|
| Metrics |
cvssV3_1
|
No data.