CVE-2023-34325
Vulnerability from cvelistv5
Published
2024-01-05 16:31
Modified
2024-08-02 16:10
Severity ?
EPSS score ?
Summary
[This CNA information record relates to multiple CVEs; the
text explains which aspects/vulnerabilities correspond to which CVE.]
libfsimage contains parsing code for several filesystems, most of them based on
grub-legacy code. libfsimage is used by pygrub to inspect guest disks.
Pygrub runs as the same user as the toolstack (root in a priviledged domain).
At least one issue has been reported to the Xen Security Team that allows an
attacker to trigger a stack buffer overflow in libfsimage. After further
analisys the Xen Security Team is no longer confident in the suitability of
libfsimage when run against guest controlled input with super user priviledges.
In order to not affect current deployments that rely on pygrub patches are
provided in the resolution section of the advisory that allow running pygrub in
deprivileged mode.
CVE-2023-4949 refers to the original issue in the upstream grub
project ("An attacker with local access to a system (either through a
disk or external drive) can present a modified XFS partition to
grub-legacy in such a way to exploit a memory corruption in grub’s XFS
file system implementation.") CVE-2023-34325 refers specifically to
the vulnerabilities in Xen's copy of libfsimage, which is decended
from a very old version of grub.
References
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-02T16:10:06.291Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "tags": [ "x_transferred" ], "url": "https://xenbits.xenproject.org/xsa/advisory-443.html" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "defaultStatus": "unknown", "product": "Xen", "vendor": "Xen", "versions": [ { "status": "unknown", "version": "consult Xen advisory XSA-443" } ] } ], "configurations": [ { "lang": "en", "value": "All Xen versions are affected.\n" } ], "credits": [ { "lang": "en", "type": "finder", "value": "This issue was discovered by Ferdinand N\u00f6lscher of Google.\n" } ], "datePublic": "2023-10-10T12:00:00Z", "descriptions": [ { "lang": "en", "value": "\n[This CNA information record relates to multiple CVEs; the\ntext explains which aspects/vulnerabilities correspond to which CVE.]\n\nlibfsimage contains parsing code for several filesystems, most of them based on\ngrub-legacy code. libfsimage is used by pygrub to inspect guest disks.\n\nPygrub runs as the same user as the toolstack (root in a priviledged domain).\n\nAt least one issue has been reported to the Xen Security Team that allows an\nattacker to trigger a stack buffer overflow in libfsimage. After further\nanalisys the Xen Security Team is no longer confident in the suitability of\nlibfsimage when run against guest controlled input with super user priviledges.\n\nIn order to not affect current deployments that rely on pygrub patches are\nprovided in the resolution section of the advisory that allow running pygrub in\ndeprivileged mode.\n\nCVE-2023-4949 refers to the original issue in the upstream grub\nproject (\"An attacker with local access to a system (either through a\ndisk or external drive) can present a modified XFS partition to\ngrub-legacy in such a way to exploit a memory corruption in grub\u2019s XFS\nfile system implementation.\") CVE-2023-34325 refers specifically to\nthe vulnerabilities in Xen\u0027s copy of libfsimage, which is decended\nfrom a very old version of grub.\n" } ], "impacts": [ { "descriptions": [ { "lang": "en", "value": "A guest using pygrub can escalate its privilege to that of the domain\nconstruction tools (i.e., normally, to control of the host).\n" } ] } ], "providerMetadata": { "dateUpdated": "2024-01-05T16:31:09.660Z", "orgId": "23aa2041-22e1-471f-9209-9b7396fa234f", "shortName": "XEN" }, "references": [ { "url": "https://xenbits.xenproject.org/xsa/advisory-443.html" } ], "title": "Multiple vulnerabilities in libfsimage disk handling", "workarounds": [ { "lang": "en", "value": "Ensuring that guests do not use the pygrub bootloader will avoid this\nvulnerability.\n\nFor cases where the PV guest is known to be 64bit, and uses grub2 as a\nbootloader, pvgrub is a suitable alternative pygrub.\n\nRunning only HVM guests will avoid the vulnerability.\n" } ] } }, "cveMetadata": { "assignerOrgId": "23aa2041-22e1-471f-9209-9b7396fa234f", "assignerShortName": "XEN", "cveId": "CVE-2023-34325", "datePublished": "2024-01-05T16:31:09.660Z", "dateReserved": "2023-06-01T10:44:17.065Z", "dateUpdated": "2024-08-02T16:10:06.291Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2023-34325\",\"sourceIdentifier\":\"security@xen.org\",\"published\":\"2024-01-05T17:15:08.590\",\"lastModified\":\"2024-11-21T08:07:01.010\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"\\n[This CNA information record relates to multiple CVEs; the\\ntext explains which aspects/vulnerabilities correspond to which CVE.]\\n\\nlibfsimage contains parsing code for several filesystems, most of them based on\\ngrub-legacy code. libfsimage is used by pygrub to inspect guest disks.\\n\\nPygrub runs as the same user as the toolstack (root in a priviledged domain).\\n\\nAt least one issue has been reported to the Xen Security Team that allows an\\nattacker to trigger a stack buffer overflow in libfsimage. After further\\nanalisys the Xen Security Team is no longer confident in the suitability of\\nlibfsimage when run against guest controlled input with super user priviledges.\\n\\nIn order to not affect current deployments that rely on pygrub patches are\\nprovided in the resolution section of the advisory that allow running pygrub in\\ndeprivileged mode.\\n\\nCVE-2023-4949 refers to the original issue in the upstream grub\\nproject (\\\"An attacker with local access to a system (either through a\\ndisk or external drive) can present a modified XFS partition to\\ngrub-legacy in such a way to exploit a memory corruption in grub\u2019s XFS\\nfile system implementation.\\\") CVE-2023-34325 refers specifically to\\nthe vulnerabilities in Xen\u0027s copy of libfsimage, which is decended\\nfrom a very old version of grub.\\n\"},{\"lang\":\"es\",\"value\":\"[Este registro de informaci\u00f3n de la CNA se relaciona con m\u00faltiples CVE; el texto explica qu\u00e9 aspectos/vulnerabilidades corresponden a cada CVE.] libfsimage contiene c\u00f3digo de an\u00e1lisis para varios sistemas de archivos, la mayor\u00eda de ellos basados en c\u00f3digo heredado de grub. Pygrub utiliza libfsimage para inspeccionar los discos invitados. Pygrub se ejecuta como el mismo usuario que la pila de herramientas (ra\u00edz en un dominio privilegiado). Se ha informado al equipo de seguridad de Xen al menos de un problema que permite a un atacante desencadenar un desbordamiento de b\u00fafer en la regi\u00f3n stack de la memoria en libfsimage. Despu\u00e9s de m\u00e1s an\u00e1lisis, el equipo de seguridad de Xen ya no conf\u00eda en la idoneidad de libfsimage cuando se ejecuta contra entradas controladas por invitados con privilegios de superusuario. Para no afectar las implementaciones actuales que dependen de pygrub, en la secci\u00f3n de resoluci\u00f3n del aviso se proporcionan parches que permiten ejecutar pygrub en modo privado. CVE-2023-4949 se refiere al problema original en el proyecto grub anterior (\\\"Un atacante con acceso local a un sistema (ya sea a trav\u00e9s de un disco o una unidad externa) puede presentar una partici\u00f3n XFS modificada a grub-legacy de tal manera para explotar una corrupci\u00f3n de memoria en la implementaci\u00f3n del sistema de archivos XFS de grub\\\"). CVE-2023-34325 se refiere espec\u00edficamente a las vulnerabilidades en la copia de libfsimage de Xen, que desciende de una versi\u00f3n muy antigua de grub.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-787\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:xen:xen:*:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"C2B9CCC2-BAC5-4A65-B8D4-4B71EBBA0C2F\"}]}]}],\"references\":[{\"url\":\"https://xenbits.xenproject.org/xsa/advisory-443.html\",\"source\":\"security@xen.org\",\"tags\":[\"Patch\"]},{\"url\":\"https://xenbits.xenproject.org/xsa/advisory-443.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]}]}}" } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.