WordPress up to 2.3.1 GBK/Big5 Character Set wp-includes/query.php sql injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.3$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as problematic, has been found in WordPress. This vulnerability affects unknown code of the file wp-includes/query.php of the component GBK/Big5 Character Set. Performing a manipulation of the argument s results in sql injection. This vulnerability is identified as CVE-2007-6318. The attack can be initiated remotely. Additionally, an exploit exists. Disabling the affected component is recommended.

Detailsinfo

A vulnerability classified as critical has been found in WordPress (Content Management System). This affects an unknown functionality of the file wp-includes/query.php of the component GBK/Big5 Character Set. The manipulation of the argument s 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. The summary by CVE is:

SQL injection vulnerability in wp-includes/query.php in WordPress 2.3.1 and earlier allows remote attackers to execute arbitrary SQL commands via the s parameter, when DB_CHARSET is set to (1) Big5, (2) GBK, or possibly other character set encodings that support a "\" in a multibyte character.

The weakness was released 12/11/2007 by Abel Cheung (Website). The advisory is shared at abelcheung.org. This vulnerability is uniquely identified as CVE-2007-6318 since 12/11/2007. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details and a public exploit are known. MITRE ATT&CK project uses the attack technique T1505 for this issue.

A public exploit has been developed by Abel Cheung and been published before and not just after the advisory. The exploit is shared for download at exploit-db.com. It is declared as highly functional. The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $5k-$25k. By approaching the search of inurl:wp-includes/query.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 29845 (Fedora 7 : wordpress-2.3.2-1.fc7 (2008-0126)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l.

Applying a patch is able to eliminate this problem. The bugfix is ready for download at abelcheung.org.

The vulnerability is also documented in the databases at X-Force (38959), Exploit-DB (4721), Tenable (29845), SecurityFocus (BID 26795†) and OSVDB (39552†). If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 7.3

VulDB Base Score: 7.3
VulDB Temp Score: 7.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Sql injection
CWE: CWE-89 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Highly functional
Author: Abel Cheung
Download: 🔍
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 29845
Nessus Name: Fedora 7 : wordpress-2.3.2-1.fc7 (2008-0126)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 860813
OpenVAS Name: Family Connections argv[1] Parameter Remote Arbitrary Command Execution Vulnerability
OpenVAS File: 🔍
OpenVAS Family: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Disable
Status: 🔍

0-Day Time: 🔍

Patch: abelcheung.org

Timelineinfo

12/10/2007 🔍
12/10/2007 +0 days 🔍
12/11/2007 +1 days 🔍
12/11/2007 +0 days 🔍
12/11/2007 +0 days 🔍
12/11/2007 +0 days 🔍
12/11/2007 +0 days 🔍
12/11/2007 +0 days 🔍
12/11/2007 +0 days 🔍
12/11/2007 +0 days 🔍
12/18/2007 +6 days 🔍
01/04/2008 +17 days 🔍
01/08/2008 +4 days 🔍
03/16/2021 +4816 days 🔍

Sourcesinfo

Product: wordpress.com

Advisory: abelcheung.org
Researcher: Abel Cheung
Status: Confirmed

CVE: CVE-2007-6318 (🔍)
GCVE (CVE): GCVE-0-2007-6318
GCVE (VulDB): GCVE-100-3501
X-Force: 38959 - WordPress GBK or Big5 character sets SQL injection, Medium Risk
SecurityFocus: 26795 - WordPress wp-db.php Character Set SQL Injection Vulnerability
Secunia: 28005 - WordPress GBK/Big5 Character Set "s" SQL Injection, Less Critical
OSVDB: 39552 - WordPress wp-includes/query.php s Parameter SQL Injection
SecurityTracker: 1019071 - WordPress Input Validation Flaw in Search Function Lets Remote Users Inject SQL Commands
Vulnerability Center: 17288 - WordPress <=2.3.1 SQL Injection Vulnerability in wp-includes/query.php, Medium
Vupen: ADV-2007-4172

scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 12/18/2007 17:25
Updated: 03/16/2021 09:34
Changes: 12/18/2007 17:25 (89), 08/06/2017 14:48 (13), 03/16/2021 09:34 (3)
Complete: 🔍
Cache ID: 216:33D:103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!