Payload: SQL injection in SQLite/Postgres
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 3.90.0, 4.0.0-canary.34, 3.73.0
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
Payload is a free and open source headless content management system. Prior to 3.90.0 and 4.0.0-canary.34, an attacker with read and create or update access to a collection containing a json field or a blocks field with blocksAsJSON enabled can inject SQL through a crafted field path and operators. Collections without those fields are not affected, and richText fields are not affected. The SQLite packages are fixed in versions 3.90.0 and 4.0.0-canary.34, and the Postgres packages are fixed in version 3.73.0.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- payloadcms payload
From 3.0.0 · fixed in 3.90.0; From 4.0.0-canary.0 · fixed in 4.0.0-canary.34
- @payloadcms db-d1-sqlite
From 3.0.0 · fixed in 3.90.0; From 4.0.0-canary.0 · fixed in 4.0.0-canary.34
- @payloadcms db-postgres
>= 3.0.0 < 3.73.0
- @payloadcms db-sqlite
From 3.0.0 · fixed in 3.90.0; From 4.0.0-canary.0 · fixed in 4.0.0-canary.34
- @payloadcms db-vercel-postgres
>= 3.0.0 < 3.73.0
- @payloadcms/db-sqlitenpm
From 3.0.0 · fixed in 3.90.0
- @payloadcms/db-d1-sqlitenpm
From 3.0.0 · fixed in 3.90.0
- @payloadcms/db-postgresnpm
From 3.0.0 · fixed in 3.73.0
- @payloadcms/db-vercel-postgresnpm
From 3.0.0 · fixed in 3.73.0
- @payloadcms/db-sqlitenpm
From 4.0.0-canary.0 · fixed in 4.0.0-canary.34
- @payloadcms/db-d1-sqlitenpm
From 4.0.0-canary.0 · fixed in 4.0.0-canary.34