| Name | CVE-2017-16510 |
| Description | WordPress before 4.8.3 is affected by an issue where $wpdb->prepare() can create unexpected and unsafe queries leading to potential SQL injection (SQLi) in plugins and themes, as demonstrated by a "double prepare" approach, a different vulnerability than CVE-2017-14723. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-1160-1, DSA-4090-1 |
| Debian Bugs | 880528 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| wordpress (PTS) | bullseye | 5.7.11+dfsg1-0+deb11u1 | fixed |
| bullseye (security) | 5.7.14+dfsg1-0+deb11u1 | fixed | |
| bookworm, bookworm (security) | 6.1.6+dfsg1-0+deb12u1 | fixed | |
| trixie | 6.8.1+dfsg1-1 | fixed | |
| forky, sid | 6.8.3+dfsg1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| wordpress | source | wheezy | 3.6.1+dfsg-1~deb7u18 | DLA-1160-1 | ||
| wordpress | source | jessie | 4.1+dfsg-1+deb8u16 | DSA-4090-1 | ||
| wordpress | source | stretch | 4.7.5+dfsg-2+deb9u2 | DSA-4090-1 | ||
| wordpress | source | (unstable) | 4.8.3+dfsg-1 | 880528 |
https://wpvulndb.com/vulnerabilities/8941
https://github.com/WordPress/WordPress/commit/a2693fd8602e3263b5925b9d799ddd577202167d
https://blog.ircmaxell.com/2017/10/disclosure-wordpress-wpdb-sql-injection-technical.html