Buffer Overflow in Bochs Allows Arbitrary Code Execution via Long HOME Environment Variable

Buffer Overflow in Bochs Allows Arbitrary Code Execution via Long HOME Environment Variable

CVE-2004-2372 · HIGH Severity

AV:L/AC:L/AU:N/C:C/I:C/A:C

Buffer overflow in Bochs before 2.1.1, if installed setuid, allows local users to execute arbitrary code via a long HOME environment variable, which is used if the .bochsrc, bochsrc, and bochsrc.txt cannot be found in a known path. NOTE: some external documents recommend that Bochs be installed setuid root, so this should be treated as a vulnerability.

Learn more about our External Network Penetration Testing.