2024-06-09 20:03:11 +00:00
{
"id" : "CVE-2024-5585" ,
"sourceIdentifier" : "security@php.net" ,
"published" : "2024-06-09T19:15:52.597" ,
2024-12-08 03:06:42 +00:00
"lastModified" : "2024-11-21T09:47:58.357" ,
2024-06-13 06:03:10 +00:00
"vulnStatus" : "Modified" ,
2024-07-14 02:06:08 +00:00
"cveTags" : [ ] ,
2024-06-09 20:03:11 +00:00
"descriptions" : [
{
"lang" : "en" ,
"value" : "In PHP versions\u00a08.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, the fix for\u00a0CVE-2024-1874 does not work if the command name includes trailing spaces. Original issue:\u00a0when using proc_open() command with array syntax, due to insufficient escaping, if the arguments of the executed command are controlled by a malicious user, the user can supply arguments that would execute arbitrary commands in Windows shell."
2024-06-10 18:03:10 +00:00
} ,
{
"lang" : "es" ,
"value" : "En las versiones de PHP 8.1.* anteriores a 8.1.29, 8.2.* anteriores a 8.2.20, 8.3.* anteriores a 8.3.8, la soluci\u00f3n para CVE-2024-1874 no funciona si el nombre del comando incluye espacios finales. Problema original: cuando se utiliza el comando proc_open() con sintaxis de matriz, debido a un escape insuficiente, si los argumentos del comando ejecutado est\u00e1n controlados por un usuario malintencionado, el usuario puede proporcionar argumentos que ejecutar\u00edan comandos arbitrarios en el shell de Windows."
2024-06-09 20:03:11 +00:00
}
] ,
"metrics" : {
"cvssMetricV31" : [
2024-06-12 18:03:11 +00:00
{
2024-12-08 03:06:42 +00:00
"source" : "security@php.net" ,
"type" : "Secondary" ,
2024-06-12 18:03:11 +00:00
"cvssData" : {
"version" : "3.1" ,
2024-12-08 03:06:42 +00:00
"vectorString" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L" ,
"baseScore" : 7.7 ,
"baseSeverity" : "HIGH" ,
2024-06-12 18:03:11 +00:00
"attackVector" : "NETWORK" ,
2024-12-08 03:06:42 +00:00
"attackComplexity" : "HIGH" ,
"privilegesRequired" : "NONE" ,
2024-06-12 18:03:11 +00:00
"userInteraction" : "NONE" ,
"scope" : "UNCHANGED" ,
"confidentialityImpact" : "HIGH" ,
"integrityImpact" : "HIGH" ,
2024-12-08 03:06:42 +00:00
"availabilityImpact" : "LOW"
2024-06-12 18:03:11 +00:00
} ,
2024-12-08 03:06:42 +00:00
"exploitabilityScore" : 2.2 ,
"impactScore" : 5.5
2024-06-12 18:03:11 +00:00
} ,
2024-06-09 20:03:11 +00:00
{
2024-12-08 03:06:42 +00:00
"source" : "nvd@nist.gov" ,
"type" : "Primary" ,
2024-06-09 20:03:11 +00:00
"cvssData" : {
"version" : "3.1" ,
2024-12-08 03:06:42 +00:00
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" ,
"baseScore" : 8.8 ,
"baseSeverity" : "HIGH" ,
2024-06-09 20:03:11 +00:00
"attackVector" : "NETWORK" ,
2024-12-08 03:06:42 +00:00
"attackComplexity" : "LOW" ,
"privilegesRequired" : "LOW" ,
2024-06-09 20:03:11 +00:00
"userInteraction" : "NONE" ,
"scope" : "UNCHANGED" ,
"confidentialityImpact" : "HIGH" ,
"integrityImpact" : "HIGH" ,
2024-12-08 03:06:42 +00:00
"availabilityImpact" : "HIGH"
2024-06-09 20:03:11 +00:00
} ,
2024-12-08 03:06:42 +00:00
"exploitabilityScore" : 2.8 ,
"impactScore" : 5.9
2024-06-09 20:03:11 +00:00
}
]
} ,
"weaknesses" : [
2024-06-12 18:03:11 +00:00
{
2024-12-08 03:06:42 +00:00
"source" : "security@php.net" ,
"type" : "Secondary" ,
2024-06-12 18:03:11 +00:00
"description" : [
2024-12-08 03:06:42 +00:00
{
"lang" : "en" ,
"value" : "CWE-78"
} ,
2024-06-12 18:03:11 +00:00
{
"lang" : "en" ,
"value" : "CWE-116"
}
]
} ,
2024-06-09 20:03:11 +00:00
{
2024-12-08 03:06:42 +00:00
"source" : "nvd@nist.gov" ,
"type" : "Primary" ,
2024-06-09 20:03:11 +00:00
"description" : [
{
"lang" : "en" ,
"value" : "CWE-116"
}
]
}
] ,
2024-06-12 18:03:11 +00:00
"configurations" : [
{
"nodes" : [
{
"operator" : "OR" ,
"negate" : false ,
"cpeMatch" : [
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*" ,
"versionStartIncluding" : "8.1.0" ,
"versionEndExcluding" : "8.1.29" ,
"matchCriteriaId" : "7DC2EEF8-834B-42A1-8DA3-0C2CF22A7070"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*" ,
"versionStartIncluding" : "8.2.0" ,
"versionEndExcluding" : "8.2.20" ,
"matchCriteriaId" : "A39988FF-D854-4277-9D66-6911AF371DD3"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*" ,
"versionStartIncluding" : "8.3.0" ,
"versionEndExcluding" : "8.3.8" ,
"matchCriteriaId" : "F579FFC1-4F81-4755-B14B-3AA73AC9FF7A"
}
]
}
]
} ,
{
"nodes" : [
{
"operator" : "OR" ,
"negate" : false ,
"cpeMatch" : [
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*" ,
"matchCriteriaId" : "CA277A6C-83EC-4536-9125-97B84C4FAF59"
}
]
}
]
}
] ,
2024-06-09 20:03:11 +00:00
"references" : [
2024-06-10 18:03:10 +00:00
{
"url" : "http://www.openwall.com/lists/oss-security/2024/06/07/1" ,
2024-06-12 18:03:11 +00:00
"source" : "security@php.net" ,
"tags" : [
"Mailing List" ,
"Third Party Advisory"
]
2024-06-10 18:03:10 +00:00
} ,
2024-06-09 20:03:11 +00:00
{
"url" : "https://github.com/php/php-src/security/advisories/GHSA-9fcc-425m-g385" ,
2024-06-12 18:03:11 +00:00
"source" : "security@php.net" ,
"tags" : [
"Exploit" ,
"Third Party Advisory"
]
2024-06-12 04:03:12 +00:00
} ,
{
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B/" ,
2024-06-12 18:03:11 +00:00
"source" : "security@php.net" ,
"tags" : [
"Third Party Advisory"
]
2024-06-13 06:03:10 +00:00
} ,
{
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W45DBOH56NQDRTOM2DN2LNA2FZIMC3PK/" ,
"source" : "security@php.net"
2024-07-28 16:03:13 +00:00
} ,
{
"url" : "https://security.netapp.com/advisory/ntap-20240726-0002/" ,
"source" : "security@php.net"
2024-12-08 03:06:42 +00:00
} ,
{
"url" : "http://www.openwall.com/lists/oss-security/2024/06/07/1" ,
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Mailing List" ,
"Third Party Advisory"
]
} ,
{
"url" : "https://github.com/php/php-src/security/advisories/GHSA-9fcc-425m-g385" ,
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Exploit" ,
"Third Party Advisory"
]
} ,
{
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B/" ,
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Third Party Advisory"
]
} ,
{
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W45DBOH56NQDRTOM2DN2LNA2FZIMC3PK/" ,
"source" : "af854a3a-2127-422b-91ae-364da2661108"
} ,
{
"url" : "https://security.netapp.com/advisory/ntap-20240726-0002/" ,
"source" : "af854a3a-2127-422b-91ae-364da2661108"
} ,
{
"url" : "https://www.vicarius.io/vsociety/posts/command-injection-vulnerability-in-php-on-windows-systems-cve-2024-1874-and-cve-2024-5585" ,
"source" : "af854a3a-2127-422b-91ae-364da2661108"
2024-06-09 20:03:11 +00:00
}
]
}