WordPress up to 4.7.1 WP_Query class-wp-query.php sql injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.4 | $0-$5k | 0.00 |
Summary
A vulnerability described as critical has been identified in WordPress up to 4.7.1. This issue affects some unknown processing of the file wp-includes/class-wp-query.php of the component WP_Query. The manipulation results in sql injection. This vulnerability is identified as CVE-2017-5611. The attack can be executed remotely. There is not any exploit available. Upgrading the affected component is recommended.
Details
A vulnerability, which was classified as critical, was found in WordPress up to 4.7.1 (Content Management System). Affected is an unknown code block of the file wp-includes/class-wp-query.php of the component WP_Query. The manipulation with an unknown input leads to a sql injection vulnerability. CWE is classifying the issue as CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
SQL injection vulnerability in wp-includes/class-wp-query.php in WP_Query in WordPress before 4.7.2 allows remote attackers to execute arbitrary SQL commands by leveraging the presence of an affected plugin or theme that mishandles a crafted post type name.
The bug was discovered 01/26/2017. The weakness was released 01/30/2017 by Security Team with WordPress Security Team (oss-sec). The advisory is shared for download at openwall.com. This vulnerability is traded as CVE-2017-5611 since 01/28/2017. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1505.
By approaching the search of inurl:wp-includes/class-wp-query.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 96906 (WordPress < 4.7.2 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses and running in the context r. The commercial vulnerability scanner Qualys is able to test this issue with plugin 175955 (Debian Security Update for wordpress (DSA 3779-1)).
Upgrading to version 3.7.18, 3.8.18, 3.9.16, 4.0.15, 4.1.15, 4.2.12, 4.3.8, 4.4.7, 4.5.6, 4.6.3 or 4.7.2 eliminates this vulnerability. The upgrade is hosted for download at github.com. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (96906) and SecurityFocus (BID 95816†). Entries connected to this vulnerability are available at VDB-95349, VDB-95350, VDB-95351 and VDB-95352. Once again VulDB remains the best source for vulnerability data.
Product
Type
Name
Version
- 3.5
- 3.5 Beta1
- 3.5 Beta2
- 3.5 Beta3
- 3.5 rc1
- 3.5 rc2
- 3.5 rc3
- 3.5 rc4
- 3.5.0
- 3.5.1
- 3.5.2
- 3.6
- 3.6 Beta1
- 3.6 Beta2
- 3.6 Beta3
- 3.6 Beta4
- 3.6 rc1
- 3.6 rc2
- 3.6.1
- 3.7
- 3.7 Beta1
- 3.7 Beta2
- 3.7 rc1
- 3.7 rc2
- 3.7.1
- 3.7.2
- 3.7.3
- 3.7.4
- 3.7.5
- 3.7.6
- 3.7.7
- 3.7.8
- 3.7.9
- 3.7.10
- 3.7.11
- 3.7.12
- 3.7.13
- 3.7.14
- 3.7.15
- 3.7.16
- 3.7.17
- 3.8
- 3.8 Beta1
- 3.8 rc1
- 3.8 rc2
- 3.8.1
- 3.8.1 rc1
- 3.8.2
- 3.8.3
- 3.8.4
- 3.8.5
- 3.8.6
- 3.8.7
- 3.8.8
- 3.8.9
- 3.8.10
- 3.8.11
- 3.8.12
- 3.8.13
- 3.8.14
- 3.8.15
- 3.8.16
- 3.8.17
- 3.9
- 3.9 Beta1
- 3.9 Beta2
- 3.9 Beta3
- 3.9 rc1
- 3.9 rc2
- 3.9.0
- 3.9.1
- 3.9.1 rc1
- 3.9.2
- 3.9.3
- 3.9.4
- 3.9.5
- 3.9.6
- 3.9.7
- 3.9.8
- 3.9.9
- 3.9.10
- 3.9.11
- 3.9.12
- 3.9.13
- 3.9.14
- 3.9.15
- 4.0
- 4.0 Beta1
- 4.0 Beta2
- 4.0 Beta3
- 4.0 Beta4
- 4.0 rc1
- 4.0 rc2
- 4.0.1
- 4.0.2
- 4.0.3
- 4.0.4
- 4.0.5
- 4.0.6
- 4.0.7
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1
License
Website
- Product: https://wordpress.com/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.5VulDB Meta Temp Score: 8.2
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Sql injectionCWE: CWE-89 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
Google Hack: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 96906
Nessus Name: WordPress < 4.7.2 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 703779
OpenVAS Name: Debian Security Advisory DSA 3779-1 (wordpress - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: WordPress 3.7.18/3.8.18/3.9.16/4.0.15/4.1.15/4.2.12/4.3.8/4.4.7/4.5.6/4.6.3/4.7.2
Patch: github.com
Timeline
01/26/2017 🔍01/26/2017 🔍
01/26/2017 🔍
01/28/2017 🔍
01/29/2017 🔍
01/30/2017 🔍
01/30/2017 🔍
01/31/2017 🔍
05/16/2026 🔍
Sources
Product: wordpress.comAdvisory: 85384297a60900004e27e417eac56d24267054cb
Researcher: Security Team
Organization: WordPress Security Team
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2017-5611 (🔍)
GCVE (CVE): GCVE-0-2017-5611
GCVE (VulDB): GCVE-100-96276
OVAL: 🔍
SecurityFocus: 95816 - WordPress Prior to 4.7.2 Multiple Security Vulnerabilities
SecurityTracker: 1037731
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 01/30/2017 17:28Updated: 05/16/2026 23:43
Changes: 01/30/2017 17:28 (79), 06/08/2020 08:23 (4), 11/11/2022 08:13 (5), 11/11/2022 08:16 (1), 05/16/2026 23:43 (22)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.