| Reporter | Title | Published | Views | Family All 8 |
|---|---|---|---|---|
| CVE-2014-5389 | 6 Oct 201414:00 | â | cve | |
| CVE-2014-5389 | 6 Oct 201414:00 | â | cvelist | |
| EUVD-2014-5277 | 7 Oct 202500:30 | â | euvd | |
| CVE-2014-5389 | 6 Oct 201414:55 | â | nvd | |
| WordPress Content Audit 1.6 Blind SQL Injection | 2 Oct 201400:00 | â | packetstorm | |
| WordPress Content Audit Plugin <= 1.6.0 - SQL Injection | 22 Aug 201400:00 | â | patchstack | |
| Sql injection | 6 Oct 201414:55 | â | prion | |
| Content Audit <= 1.6 - Authenticated Blind SQL Injection | 1 Oct 201415:00 | â | wpvulndb |
Details
================
Software: Content Audit
Version: 1.6
Homepage: http://wordpress.org/plugins/content-audit/
Advisory report: https://security.dxw.com/advisories/blind-sqli-vulnerability-in-content-audit-could-allow-a-privileged-attacker-to-exfiltrate-password-hashes/
CVE: CVE-2014-5389
CVSS: 3.6 (Low; AV:N/AC:H/Au:S/C:P/I:N/A:P)
Description
================
Blind SQLi vulnerability in Content Audit could allow a privileged attacker to exfiltrate password hashes
Vulnerability
================
An attacker with an admin account is able to add arbitrary text in the âAudited content typesâ option by using a DOM inspector to modify the value of a checkbox field. This text is then inserted into an SQL query and executed as part of a daily wp-cron job.
The fact that this is run only once a day makes it rather minor. An attacker would potentially need to poll /wp-cron.php repeatedly for 24 hours until they got the first result. As blind SQL injection attacks are usually done by comparing the first character to all possible characters â one at a time, until a match is found â it would take a very long time to exfiltrate useful data.
However, we donât discount the possibility that someone cleverer than us could figure out a more practical attack.
Proof of concept
================
Steps an attacker may take:
Visit /wp-admin/options-general.php?page=content-audit
Check an âAudited content typesâ checkbox
Right-click that checkbox and select âInspect elementâ
Set the value attribute of the element to something which does sleep(5) if the first byte of the adminâs password hash is âaâ or sleep(10) otherwise
Press âUpdate Optionsâ
Poll /wp-cron.php repeatedly until it takes longer than 5 seconds and record how long the request took
Repeat
Steps to take to verify that this issue exists:
Visit /wp-admin/options-general.php?page=content-audit
Check a âAudited content typesâ checkbox
Right-click that checkbox and select âInspect elementâ
Set the value attribute of the element to âââ (a single apostrophe)
Press âUpdate Optionsâ
Add âadd_action(âinitâ, âcontent_audit_mark_outdatedâ);â to content-audit-schedule.php somewhere and load any page
This error should occur: âWordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near â2013-08-12â˛â
If you replace â$oldposts = $wpdb->get_resultsâ with âechoâ on line 134 of content-audit-schedule.php youâll notice that itâs inserting the â unescaped â which means that you can insert whatever you like
Mitigations
================
You should update to version 1.62.
Disclosure policy
================
dxw believes in responsible disclosure. Your attention is drawn to our disclosure policy: https://security.dxw.com/disclosure/
Please contact us on [email protected] to acknowledge this report if you received it via a third party (for example, [email protected]) as they generally cannot communicate with us on your behalf.
This vulnerability will be published if we do not receive a response to this report with 14 days.
Timeline
================
2014-08-11 â Discovered
2014-08-21 â Requested author email address via a contact form
2014-08-27 â Reported to author via email
2014-09-22 â No response from author; reminder sent
2014-09-23 â Author responded
2014-09-24 â Fix released
2014-10-01 â Published
Discovered by dxw:
================
Tom Adams
Please visit security.dxw.com for more information.
# 0day.today [2018-01-08] #Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation