Arbitrary File Read via Null Byte Injection in Cart32 c32web.exe
A vulnerability in c32web.exe in McMurtrey/Whitaker Cart32 before version 6.4 allows remote attackers to read arbitrary files on the server. The vulnerability is exploited via the ImageName parameter in a GetImage action, where an attacker can append a NULL byte (%00) followed by a valid image file extension (e.g., .gif) to bypass file extension checks. This allows retrieval of files with arbitrary extensions, such as .txt, by requesting, for example, ".txt%00.gif".
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to read arbitrary files from the server filesystem, potentially exposing sensitive information such as configuration files, credentials, or application source code. This can lead to further compromise of the application or underlying system.
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, restrict access to c32web.exe via network controls or web server configuration. Implement input validation to reject requests containing null bytes or suspicious file extensions. Monitor logs for suspicious requests exploiting the ImageName parameter.
Patch, then assume compromise.
Upgrade to Cart32 version 6.4 or later, where this vulnerability has been addressed. Ensure that user-supplied input is properly sanitized and validated, and that null byte injection is not possible in file handling routines.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.