{"vuid":"VU#495801","idnumber":"495801","name":"muhttpd versions 1.1.5 and earlier are vulnerable to path traversal","keywords":null,"overview":"### Overview\r\n\r\nVersions 1.1.5 and earlier of the mu HTTP deamon (muhttpd) are vulnerable to path traversal via crafted HTTP request from an unauthenticated user. This vulnerability can allow unauthenticated users to download arbitrary files and collect private information on the target device.\r\n\r\n### Description\r\n\r\nThe muhttpd, hosted at [SourceForge](https://sourceforge.net/projects/muhttpd/ ) as an opensource project, is a lightweight webserver.  This software is commonly used in customer premise equipment (CPE), such as home routers and small office routers, to provide device management capability through a web interface. The muhttpd supports the use of [CGI](https://en.wikipedia.org/wiki/Common_Gateway_Interface) scripts that enable remote management of CPE devices.\r\n\r\nA path traversal vulnerability in muhttpd (version 1.1.5 and earlier) could allow an unauthenticated attacker to read arbitrary content on the target device, including usernames and passwords, Wireless SSID configurations, ISP connection information, and private keys.  If remote management is enabled on a device running vulnerable version of muhttpd, this attack is possible from a remote network. Even in cases with restricted Local Area Network access, a vulnerable version of muhttpd can be accessed using other attack methods such as [DNS Rebinding](https://en.wikipedia.org/wiki/DNS_rebinding/). \r\n\r\n\r\n### Impact\r\n\r\nAn unauthenticated attacker can use crafted HTTP request to download arbitrary files or gather sensitive information from a vulnerable target device. In cases where remote management is enabled on a vulnerable device, a remote unauthenticated attacker can perform these attacks.\r\n\r\n### Solution\r\n\r\n#### Apply Updates\r\nUpdate to the latest version of firmware/software provided by your vendor; see [Vendor Information](#vendor-information) section for details.  Downstream developers of embedded systems should update muhttpd software (to version 1.1.7 or later) from [SourceForget git repository](https://sourceforge.net/p/muhttpd/code/ci/main/tree/).\r\n\r\n#### Disable remote management\r\n\r\nDisabling remote management access, which thereby limits access strictly to local area network, can minimize the exposure introduced by the vulnerable software.  Use access control to limit remote management if remote management is desired from specific IP network locations. Additional mitigations are described in the [security researcher's advisory](https://derekabdine.com/blog/2022-arris-advisory). \r\n\r\n\r\n### Acknowledgements\r\n\r\nThanks to Derek Abdine for reporting this vulnerability. \r\n\r\nThis document was written by Brad Runyon, Vijay Sarvepalli, and Eric Hatleback.","clean_desc":null,"impact":null,"resolution":null,"workarounds":null,"sysaffected":null,"thanks":null,"author":null,"public":["https://derekabdine.com/blog/2022-arris-advisory","https://blog.malwarebytes.com/exploits-and-vulnerabilities/2022/08/millions-of-arris-routers-are-vulnerable-to-path-traversal-attacks","https://www.cisa.gov/uscert/ncas/tips/ST15-002"],"cveids":["CVE-2022-31793"],"certadvisory":null,"uscerttechnicalalert":null,"datecreated":"2022-08-04T18:22:25.972036Z","publicdate":"2022-08-04T18:22:24.069865Z","datefirstpublished":"2022-08-04T18:22:26.080953Z","dateupdated":"2022-08-05T20:02:52.605648Z","revision":2,"vrda_d1_directreport":null,"vrda_d1_population":null,"vrda_d1_impact":null,"cam_widelyknown":null,"cam_exploitation":null,"cam_internetinfrastructure":null,"cam_population":null,"cam_impact":null,"cam_easeofexploitation":null,"cam_attackeraccessrequired":null,"cam_scorecurrent":null,"cam_scorecurrentwidelyknown":null,"cam_scorecurrentwidelyknownexploited":null,"ipprotocol":null,"cvss_accessvector":null,"cvss_accesscomplexity":null,"cvss_authentication":null,"cvss_confidentialityimpact":null,"cvss_integrityimpact":null,"cvss_availabilityimpact":null,"cvss_exploitablity":null,"cvss_remediationlevel":null,"cvss_reportconfidence":null,"cvss_collateraldamagepotential":null,"cvss_targetdistribution":null,"cvss_securityrequirementscr":null,"cvss_securityrequirementsir":null,"cvss_securityrequirementsar":null,"cvss_basescore":null,"cvss_basevector":null,"cvss_temporalscore":null,"cvss_environmentalscore":null,"cvss_environmentalvector":null,"metric":null,"vulnote":71}