Photo Gallery by 10Web <= 1.8.44 - Authenticated (Author+) SQL Injection via 'album_id' Shortcode Attribute
- 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
- 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
The Photo Gallery by 10Web – Mobile-Friendly Image Gallery plugin for WordPress is vulnerable to time-based SQL Injection via 'album_id' Shortcode Attribute in all versions up to, and including, 1.8.44 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with author-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. An Author-level user can store a SQL injection payload inside a published post's shortcode attribute, causing the payload to execute when any visitor renders the post; notably, the unsanitized value appears on both sides of a UNION query, potentially doubling the observable time-based delay.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- 10web Photo Gallery by 10Web – Mobile-Friendly Image Gallery
through 1.8.44
References 10
plugins.trac.wordpress.org
- browser/photo-gallery/tags/1.8.44/frontend/models/model.php#L172
- browser/photo-gallery/tags/1.8.44/frontend/models/model.php#L178
- browser/photo-gallery/tags/1.8.44/frontend/controllers/controller.php#L51
- browser/photo-gallery/tags/1.8.44/framework/WDWLibrary.php#L75
- browser/photo-gallery/tags/1.8.42/frontend/models/model.php#L172
- browser/photo-gallery/tags/1.8.42/frontend/models/model.php#L178
- browser/photo-gallery/tags/1.8.42/frontend/controllers/controller.php#L51
- browser/photo-gallery/tags/1.8.42/framework/WDWLibrary.php#L75
- changeset?reponame=&old=3687152%40photo-gallery&new=3687152%40photo-gallery