From 07ab0388012b38fed06c84e4f464b3c4d6e3548e Mon Sep 17 00:00:00 2001 From: wy876 <139549762+wy876@users.noreply.github.com> Date: Wed, 3 Apr 2024 23:29:58 +0800 Subject: [PATCH] =?UTF-8?q?Create=20WordPress=5FLayerSlider=E6=8F=92?= =?UTF-8?q?=E4=BB=B6SQL=E6=B3=A8=E5=85=A5=E6=BC=8F=E6=B4=9E(CVE-2024-2879)?= =?UTF-8?q?.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...yerSlider插件SQL注入漏洞(CVE-2024-2879).md | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 WordPress_LayerSlider插件SQL注入漏洞(CVE-2024-2879).md diff --git a/WordPress_LayerSlider插件SQL注入漏洞(CVE-2024-2879).md b/WordPress_LayerSlider插件SQL注入漏洞(CVE-2024-2879).md new file mode 100644 index 0000000..8bd2670 --- /dev/null +++ b/WordPress_LayerSlider插件SQL注入漏洞(CVE-2024-2879).md @@ -0,0 +1,69 @@ +## WordPress_LayerSlider插件SQL注入漏洞(CVE-2024-2879) + +## fofa +``` +"wp-content/plugins/LayerSlider/" +``` + + +## nuclei +``` +id: CVE-2024-2879 + +info: + name: > + LayerSlider 7.9.11 - 7.10.0 - Unauthenticated SQL Injection + author: topscoder + severity: critical + description: > + The LayerSlider plugin for WordPress is vulnerable to SQL Injection via the ls_get_popup_markup action in versions 7.9.11 and 7.10.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. + reference: + - https://www.wordfence.com/threat-intel/vulnerabilities/id/3fddf96e-029c-4753-ba82-043ca64b78d3?source=api-prod + classification: + cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H + cvss-score: 9.8 + cve-id: CVE-2024-2879 + metadata: + fofa-query: "wp-content/plugins/LayerSlider/" + google-query: inurl:"/wp-content/plugins/LayerSlider/" + shodan-query: 'vuln:CVE-2024-2879' + tags: cve,wordpress,wp-plugin,LayerSlider,critical + +http: + - method: GET + redirects: true + max-redirects: 3 + path: + - "{{BaseURL}}/wp-content/plugins/LayerSlider/readme.txt" + + extractors: + - type: regex + name: version + part: body + group: 1 + internal: true + regex: + - "(?mi)Stable tag: ([0-9.]+)" + + - type: regex + name: version + part: body + group: 1 + regex: + - "(?mi)Stable tag: ([0-9.]+)" + + matchers-condition: and + matchers: + - type: status + status: + - 200 + + - type: word + words: + - "LayerSlider" + part: body + + - type: dsl + dsl: + - compare_versions(version, '>= 7.9.11', '<= 7.10.0') +```