Path Traversal in Mono XSP System.Web
The System.Web class in Mono's XSP for ASP.NET server versions 1.1 through 2.0 fails to properly validate local pathnames. This allows remote attackers to bypass access controls by appending a space character (%20) to a URI, enabling them to read source code files and sensitive configuration files such as Web.Config.
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.
Attackers can remotely read source code and sensitive configuration files, including credentials stored in Web.Config, by exploiting improper pathname validation. This can lead to information disclosure, exposure of application logic, and compromise of authentication secrets.
If you can’t patch tonight, do this now.
As an interim measure, restrict access to the XSP server to trusted networks only. Employ web server rules to block requests with suspicious encodings or appended whitespace. Monitor logs for unusual requests targeting source or configuration files.
Patch, then assume compromise.
Upgrade to a patched version of Mono XSP where pathname validation is correctly implemented. Ensure that the server properly normalizes and validates all incoming URIs to prevent bypass via encoded or appended characters.
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.