Create CVE-2023-0678.yaml

patch-1
Ritik Chaddha 2024-03-31 16:02:36 +05:30 committed by GitHub
parent a00707a023
commit 45322d4524
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,33 @@
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
cpe: cpe:2.3:a:phpipam:phpipam:*:*:*:*:*:*:*:*
metadata:
vendor: phpipam
product: phpipam
shodan-query: html:"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