search menu icon-carat-right cmu-wordmark

CERT Coordination Center

muhttpd versions 1.1.5 and earlier are vulnerable to path traversal

Vulnerability Note VU#495801

Original Release Date: 2022-08-04 | Last Revised: 2022-08-05

Overview

Versions 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.

Description

The muhttpd, hosted at SourceForge 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 scripts that enable remote management of CPE devices.

A 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.

Impact

An 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.

Solution

Apply Updates

Update to the latest version of firmware/software provided by your vendor; see 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.

Disable remote management

Disabling 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.

Acknowledgements

Thanks to Derek Abdine for reporting this vulnerability.

This document was written by Brad Runyon, Vijay Sarvepalli, and Eric Hatleback.

Vendor Information

495801
 

SaskTel Affected

Notified:  2022-06-17 Updated: 2022-08-05

Statement Date:   June 29, 2022

CVE-2022-31793 Affected

Vendor Statement

We have not received a statement from the vendor.

AT&T Not Affected

Notified:  2022-06-09 Updated: 2022-08-05

Statement Date:   August 04, 2022

CVE-2022-31793 Not Affected

Vendor Statement

We have not received a statement from the vendor.

ARRIS Unknown

Notified:  2022-06-09 Updated: 2022-08-04

CVE-2022-31793 Unknown

Vendor Statement

We have not received a statement from the vendor.

Frontier Unknown

Notified:  2022-06-30 Updated: 2022-08-04

CVE-2022-31793 Unknown

Vendor Statement

We have not received a statement from the vendor.

Windstream Unknown

Notified:  2022-06-29 Updated: 2022-08-04

CVE-2022-31793 Unknown

Vendor Statement

We have not received a statement from the vendor.


Other Information

CVE IDs: CVE-2022-31793
Date Public: 2022-08-04
Date First Published: 2022-08-04
Date Last Updated: 2022-08-05 20:02 UTC
Document Revision: 2

Sponsored by CISA.