CVE-2022-31793
inglorion muhttpd Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Record summary
CVE-2022-31793 has a selected CVSS score of 7.5 (high); EIP currently links 1 repository PoC and 1 Nuclei template.
Description
do_request in request.c in muhttpd before 1.1.7 allows remote attackers to read arbitrary files by constructing a URL with a single character before a desired path on the filesystem. This occurs because the code skips over the first character when serving files. Arris NVG443, NVG599, NVG589, and NVG510 devices and Arris-derived BGW210 and BGW320 devices are affected.
Exploitation context
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
muhttpdBrowse inglorion / muhttpd | VulnCheck | Version data not supplied | |
Proofs of concept
1Repository PoCs
GitHubxpgdgit/CVE-2022-31793Repository PoCby xpgdgitStars: 1Not analyzed4 files
Nuclei templates
1ProjectDiscoveryHIGHmuhttpd <=1.1.5 - Local InclusionCVSS 7.5
muhttpd 1.1.5 and before are vulnerable to unauthenticated local file inclusion. The vulnerability allows retrieval of files from the file system.
Impact
An attacker can exploit this vulnerability to read sensitive files on the system.
Remediation
Update the application to version 1.10
Source: ProjectDiscovery