Disclosure: WordPress WPDB SQL Injection
A SQL injection vulnerability existed in WordPress's WPDB database layer, where the prepare method could be bypassed by double-preparing or by passing already-escaped strings. An attacker could potentially execute arbitrary SQL queries, though the text does not detail specific exploitation.
blog.ircmaxell.com
Published on blog.ircmaxell.com
Today, a significant SQL-Injection vulnerability was fixed in WordPress 4.8.3. Before reading further, if you haven’t updated yet stop right now and update.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
The vulnerability could allow SQL injection attacks, potentially leading to data theft or modification, though the text does not specify the full extent.
What the attacker needed
WordPress version before 4.8.3; ability to influence SQL query input
The fix
The issue was fixed in WordPress 4.8.3 with a patch that mitigates the extent of the issues, though the author believes a more complex conceptual fix is still needed.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
WordPress uses a database to store posts, users, and settings. A SQL injection flaw lets an attacker trick the database into running unintended commands, which could expose or alter data. This report is about a flaw in how WordPress prepared database queries, which was fixed in version 4.8.3.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.