CVE-2017-9833
published 2017-06-24CVE-2017-9833: /cgi-bin/wapopen in Boa 0.94.14rc21 allows the injection of "../.." using the FILECAMERA variable (sent by GET) to read files with root privileges. NOTE…
PriorityP182high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
67.73%
99.2th percentile
/cgi-bin/wapopen in Boa 0.94.14rc21 allows the injection of "../.." using the FILECAMERA variable (sent by GET) to read files with root privileges. NOTE: multiple third parties report that this is a system-integrator issue (e.g., a vulnerability on one type of camera) because Boa does not include any wapopen program or any code to read a FILECAMERA variable.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| boa | boa | — | — |
Detection & IOCsextracted from sources · hover to see the quote
url/cgi-bin/wapopen?B1=OK&NO=CAM_16&REFRESH_TIME=Auto_00&FILECAMERA=../../etc/passwd%00&REFRESH_HTML=auto.htm&ONLOAD_HTML=onload.htm&STREAMING_HTML=streaming.htm&NAME=admin&PWD=admin&PIC_SIZE=0↗
url/cgi-bin/wapopen?B1=OK&NO=CAM_16&REFRESH_TIME=Auto_00&FILECAMERA=../../etc/shadow%00&REFRESH_HTML=auto.htm&ONLOAD_HTML=onload.htm&STREAMING_HTML=streaming.htm&NAME=admin&PWD=admin&PIC_SIZE=0↗
- →Detect path traversal attempts targeting the FILECAMERA GET parameter in requests to /cgi-bin/wapopen, specifically looking for '../..' sequences and null byte (%00) termination. ↗
- →Alert on HTTP GET requests to /cgi-bin/wapopen containing FILECAMERA=../../etc/passwd%00 or FILECAMERA=../../etc/shadow%00 in the query string. ↗
- →A successful exploitation response will contain the string matching 'root:[x*]:0:0' (passwd/shadow file content) with HTTP 200 status. ↗
- ·This vulnerability is a system-integrator issue specific to camera firmware that bundles the wapopen CGI script with Boa; the Boa web server itself does not include wapopen or handle the FILECAMERA variable natively. ↗
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.07.8HIGHAV:N/AC:L/Au:N/C:C/I:N/A:N
vulncheck7.5HIGH
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-cr2r-r2fp-h658: /cgi-bin/wapopen in BOA Webserver 0
ghsa_unreviewed·2022-05-14
CVE-2017-9833 [HIGH] CWE-22 GHSA-cr2r-r2fp-h658: /cgi-bin/wapopen in BOA Webserver 0
/cgi-bin/wapopen in BOA Webserver 0.94.14rc21 allows the injection of "../.." using the FILECAMERA variable (sent by GET) to read files with root privileges.
VulnCheck
boa boa Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
vulncheck·2017·CVSS 7.5
CVE-2017-9833 [HIGH] boa boa Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
boa boa Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
/cgi-bin/wapopen in Boa 0.94.14rc21 allows the injection of "../.." using the FILECAMERA variable (sent by GET) to read files with root privileges. NOTE: multiple third parties report that this is a system-integrator issue (e.g., a vulnerability on one type of camera) because Boa does not include any wapopen program or any code to read a FILECAMERA variable.
Affected: boa boa
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Exploitation References: https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-13&host_type=src&vulnerability=cve-2017-9833; https://dashboard
No detection rules found.
Exploit-DB
BOA Web Server 0.94.14rc21 - Arbitrary File Access
exploitdb·2017-06-20·CVSS 7.5
CVE-2017-9833 [HIGH] BOA Web Server 0.94.14rc21 - Arbitrary File Access
BOA Web Server 0.94.14rc21 - Arbitrary File Access
---
BOA Web Server 0.94.14 - Access to arbitrary files as privileges
Title: Vulnerability in BOA Webserver 0.94.14
Date: 20-06-2017
Status: Vendor contacted, patch available
Scope: Arbitrary file access
Platforms: Unix
Author: Miguel Mendez Z
Vendor Homepage: http://www.boa.org
Version: Boa Webserver 0.94.14rc21
CVE: CVE-2017-9833
Vulnerability description
-We can read any file located on the server
The server allows the injection of "../.." using the FILECAMERA variable sent by GET to read files with root privileges. Without using access credentials
Vulnerable variable:
FILECAMERA=../../etc/shadow%00
Exploit link:
/cgi-bin/wapopen?B1=OK&NO=CAM_16&REFRESH_TIME=Auto_00&FILECAMERA=../../etc/shadow%00&REFRESH_HTML=auto.htm&ONLOAD_HTML=
Nuclei
BOA Web Server 0.94.14 - Arbitrary File Access
nuclei·CVSS 7.5
CVE-2017-9833 [HIGH] BOA Web Server 0.94.14 - Arbitrary File Access
BOA Web Server 0.94.14 - Arbitrary File Access
BOA Web Server 0.94.14 is susceptible to arbitrary file access. The server allows the injection of "../.." using the FILECAMERA variable sent by GET to read files with root privileges and without using access credentials.
Template:
id: CVE-2017-9833
info:
name: BOA Web Server 0.94.14 - Arbitrary File Access
author: 0x_Akoko
severity: high
description: BOA Web Server 0.94.14 is susceptible to arbitrary file access. The server allows the injection of "../.." using the FILECAMERA variable sent by GET to read files with root privileges and without using access credentials.
impact: |
An attacker can gain unauthorized access to sensitive files on the server.
remediation: |
Upgrade to a patched version of BOA Web Server or apply the necessary sec
2017-06-24
Published
Exploited in the wild