2024-11-18 19:03:31 +00:00
{
"id" : "CVE-2024-47873" ,
"sourceIdentifier" : "security-advisories@github.com" ,
"published" : "2024-11-18T17:15:11.973" ,
2025-03-16 03:03:50 +00:00
"lastModified" : "2025-03-07T17:07:20.133" ,
2025-03-07 19:03:47 +00:00
"vulnStatus" : "Analyzed" ,
2024-11-18 19:03:31 +00:00
"cveTags" : [ ] ,
"descriptions" : [
{
"lang" : "en" ,
"value" : "PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. The XmlScanner class has a scan method which should prevent XXE attacks. However, prior to versions 1.9.4, 2.1.3, 2.3.2, and 3.4.0, the regexes used in the `scan` method and the findCharSet method can be bypassed by using UCS-4 and encoding guessing. An attacker can bypass the sanitizer and achieve an XML external entity attack. Versions 1.9.4, 2.1.3, 2.3.2, and 3.4.0 fix the issue."
2024-11-19 23:03:24 +00:00
} ,
{
"lang" : "es" ,
"value" : "PhpSpreadsheet es una librer\u00eda PHP para leer y escribir archivos de hojas de c\u00e1lculo. La clase XmlScanner tiene un m\u00e9todo de escaneo que deber\u00eda evitar ataques XXE. Sin embargo, antes de las versiones 1.9.4, 2.1.3, 2.3.2 y 3.4.0, las expresiones regulares utilizadas en el m\u00e9todo `scan` y en el m\u00e9todo findCharSet se pueden omitir utilizando UCS-4 y adivinando la codificaci\u00f3n. Un atacante puede omitir el desinfectante y lograr un ataque de entidad externa XML. Las versiones 1.9.4, 2.1.3, 2.3.2 y 3.4.0 solucionan el problema."
2024-11-18 19:03:31 +00:00
}
] ,
"metrics" : {
"cvssMetricV31" : [
{
"source" : "security-advisories@github.com" ,
"type" : "Secondary" ,
"cvssData" : {
"version" : "3.1" ,
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N" ,
2024-12-08 03:06:42 +00:00
"baseScore" : 7.5 ,
"baseSeverity" : "HIGH" ,
2024-11-18 19:03:31 +00:00
"attackVector" : "NETWORK" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "NONE" ,
"userInteraction" : "NONE" ,
"scope" : "UNCHANGED" ,
"confidentialityImpact" : "HIGH" ,
"integrityImpact" : "NONE" ,
2024-12-08 03:06:42 +00:00
"availabilityImpact" : "NONE"
2024-11-18 19:03:31 +00:00
} ,
"exploitabilityScore" : 3.9 ,
"impactScore" : 3.6
2025-03-07 19:03:47 +00:00
} ,
{
"source" : "nvd@nist.gov" ,
"type" : "Primary" ,
"cvssData" : {
"version" : "3.1" ,
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N" ,
"baseScore" : 7.5 ,
"baseSeverity" : "HIGH" ,
"attackVector" : "NETWORK" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "NONE" ,
"userInteraction" : "NONE" ,
"scope" : "UNCHANGED" ,
"confidentialityImpact" : "HIGH" ,
"integrityImpact" : "NONE" ,
"availabilityImpact" : "NONE"
} ,
"exploitabilityScore" : 3.9 ,
"impactScore" : 3.6
2024-11-18 19:03:31 +00:00
}
]
} ,
"weaknesses" : [
{
"source" : "security-advisories@github.com" ,
2025-03-23 03:03:54 +00:00
"type" : "Primary" ,
2024-11-18 19:03:31 +00:00
"description" : [
{
"lang" : "en" ,
"value" : "CWE-611"
}
]
}
] ,
2025-03-07 19:03:47 +00:00
"configurations" : [
{
"nodes" : [
{
"operator" : "OR" ,
"negate" : false ,
"cpeMatch" : [
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*" ,
"versionEndExcluding" : "1.29.4" ,
"matchCriteriaId" : "9D7D4C48-5455-494C-962A-B8386CA53A62"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*" ,
"versionStartIncluding" : "2.0.0" ,
"versionEndExcluding" : "2.1.3" ,
"matchCriteriaId" : "18AFC177-DDB6-4C8C-96C7-F299CFA6C96D"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*" ,
"versionStartIncluding" : "2.2.0" ,
"versionEndExcluding" : "2.3.2" ,
"matchCriteriaId" : "A7B91E75-3DDC-4395-B48C-A77147597F21"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*" ,
"versionStartIncluding" : "3.3.0" ,
"versionEndExcluding" : "3.4.0" ,
"matchCriteriaId" : "14F9EC71-3B04-4765-8437-4BEFBDEA8673"
}
]
}
]
}
] ,
2024-11-18 19:03:31 +00:00
"references" : [
{
"url" : "https://github.com/PHPOffice/PhpSpreadsheet/blob/39fc51309181e82593b06e2fa8e45ef8333a0335/src/PhpSpreadsheet/Reader/Security/XmlScanner.php" ,
2025-03-07 19:03:47 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Product"
]
2024-11-18 19:03:31 +00:00
} ,
{
"url" : "https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-jw4x-v69f-hh5w" ,
2025-03-07 19:03:47 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Exploit" ,
"Vendor Advisory"
]
2024-11-18 19:03:31 +00:00
} ,
{
"url" : "https://owasp.org/www-community/vulnerabilities/XML_External_Entity_(XXE)_Processing" ,
2025-03-07 19:03:47 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Not Applicable"
]
2024-11-18 19:03:31 +00:00
} ,
{
"url" : "https://www.w3.org/TR/xml/#sec-guessing-no-ext-info" ,
2025-03-07 19:03:47 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Technical Description"
]
2024-11-18 19:03:31 +00:00
}
]
}