WordPress 2.1.3 admin-ajax.php cookie 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.0$0-$5k0.00

Summaryinfo

A vulnerability described as problematic has been identified in WordPress 2.1.3. Affected by this issue is some unknown functionality of the file admin-ajax.php. Such manipulation of the argument cookie leads to sql injection. This vulnerability is uniquely identified as CVE-2007-2821. The attack can be launched remotely. Moreover, an exploit is present. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability was found in WordPress 2.1.3 (Content Management System) and classified as critical. Affected by this issue is an unknown code block of the file admin-ajax.php. The manipulation of the argument cookie with an unknown input leads to a sql injection vulnerability. Using CWE to declare the problem leads to 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. Impacted is confidentiality, integrity, and availability. CVE summarizes:

SQL injection vulnerability in wp-admin/admin-ajax.php in WordPress before 2.2 allows remote attackers to execute arbitrary SQL commands via the cookie parameter.

The bug was discovered . The weakness was disclosed 05/21/2007 by Janek Wind with waraxe (Website). The advisory is shared for download at waraxe.us. This vulnerability is handled as CVE-2007-2821 since 05/22/2007. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details as well as a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1505.

A public exploit has been developed by waraxe and been published immediately after the advisory. The exploit is available at exploit-db.com. It is declared as highly functional. The vulnerability was handled as a non-public zero-day exploit for at least 13654 days. During that time the estimated underground price was around $25k-$100k. By approaching the search of inurl:admin-ajax.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 25291 (WordPress check_ajax_referer() Function SQL Injection), 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.

Upgrading to version 2.2 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at wordpress.org. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published immediately after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 5413.

The vulnerability is also documented in the databases at X-Force (34399), Exploit-DB (3960), Tenable (25291), SecurityFocus (BID 24076†) and OSVDB (36311†). The entries VDB-40459 and VDB-40458 are pretty similar. Once again VulDB remains the best source for vulnerability data.

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: waraxe
Download: 🔍
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 25291
Nessus Name: WordPress check_ajax_referer() Function SQL Injection
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 60436
OpenVAS Name: Debian Security Advisory DSA 1502-1 (wordpress)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍

Upgrade: WordPress 2.2
Patch: wordpress.org
Suricata ID: 2004011
Suricata Class: 🔍
Suricata Message: 🔍

TippingPoint: 🔍

Timelineinfo

🔍
05/21/2007 +13653 days 🔍
05/21/2007 +0 days 🔍
05/21/2007 +0 days 🔍
05/21/2007 +0 days 🔍
05/21/2007 +0 days 🔍
05/21/2007 +0 days 🔍
05/21/2007 +0 days 🔍
05/22/2007 +0 days 🔍
05/22/2007 +0 days 🔍
05/23/2007 +1 days 🔍
05/24/2007 +1 days 🔍
05/30/2007 +6 days 🔍
02/22/2008 +268 days 🔍
09/17/2024 +6052 days 🔍

Sourcesinfo

Product: wordpress.com

Advisory: waraxe.us
Researcher: Janek Wind
Organization: waraxe
Status: Confirmed

CVE: CVE-2007-2821 (🔍)
GCVE (CVE): GCVE-0-2007-2821
GCVE (VulDB): GCVE-100-3092

OVAL: 🔍

X-Force: 34399 - Wordpress admin-ajax.php SQL injection, Medium Risk
SecurityFocus: 24076 - Wordpress Admin-Ajax.PHP SQL Injection Vulnerability
Secunia: 29014 - Debian update for wordpress, Moderately Critical
OSVDB: 36311 - WordPress wp-admin/admin-ajax.php cookie Parameter SQL Injection
Vulnerability Center: 15252 - WordPress User-Supplied Input Validation Error Allows Arbitrary SQL Commands Injection, Medium
Vupen: ADV-2007-1889

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

Entryinfo

Created: 05/24/2007 19:02
Updated: 09/17/2024 06:36
Changes: 05/24/2007 19:02 (95), 08/25/2017 19:26 (13), 03/15/2021 14:03 (3), 09/17/2024 06:36 (17)
Complete: 🔍
Cache ID: 216:E34:103

Once again VulDB remains the best source for vulnerability data.

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!