HexBrain

Browse / CVEs / CVE-2021-33558

CVE-2021-33558· boa / boa

Boa 0.94.13 - Information Disclosure

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

Boa 0.94.13 allows remote attackers to obtain sensitive information via a misconfiguration involving backup.html, preview.html, js/log.js, log.html, email.html, online-users.html, and config.js. NOTE- multiple third parties report that this is a site-specific issue because those files are not part of Boa.

Impact

Unauthenticated attackers can access sensitive JavaScript files exposing logging functionality and potentially other configuration details.

Fix

Update Boa web server to a version newer than 0.94.13 or apply vendor security patches.

How to confirm it

Send: GET {{BaseURL}}/js/log.js
Positive when: contains "function SearchLog" and "logTime" AND status 200

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

The full check
id: CVE-2021-33558

info:
  name: Boa 0.94.13 - Information Disclosure
  author: DhiyaneshDK
  severity: high
  description: |
    Boa 0.94.13 allows remote attackers to obtain sensitive information via a misconfiguration involving backup.html, preview.html, js/log.js, log.html, email.html, online-users.html, and config.js. NOTE- multiple third parties report that this is a site-specific issue because those files are not part of Boa.
  impact: |
    Unauthenticated attackers can access sensitive JavaScript files exposing logging functionality and potentially other configuration details.
  remediation: |
    Update Boa web server to a version newer than 0.94.13 or apply vendor security patches.
  reference:
    - https://sourceforge.net/projects/boa/files/boa/0.94.13/
    - https://github.com/anldori/CVE-2021-33558
  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-2021-33558
    epss-score: 0.12307
    epss-percentile: 0.96224
    cpe: cpe:2.3:a:boa:boa:0.94.13:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: boa
    product: boa
    shodan-query: 'Server: Boa/0.94.13'
    fofa-query: "Server: Boa/0.94.13"
  tags: cve,cve2021,boa,info-leak,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/js/log.js"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "function SearchLog"
          - "logTime"
        condition: and
        case-insensitive: true

      - type: status
        status:
          - 200

References

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