WordPress Plugin Vulnerabilities

LearnPress – WordPress LMS Plugin < 4.2.7.1 - Unauthenticated SQL Injection via 'c_fields'

Description

The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to SQL Injection via the 'c_fields' parameter of the /wp-json/lp/v1/courses/archive-course REST API endpoint in all versions up to, and including, 4.2.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.

Affects Plugins

Fixed in 4.2.7.1

References

Classification

Type
SQLI
OWASP top 10
CWE

Miscellaneous

Original Researcher
abrahack
Verified
No

Timeline

Publicly Published
2024-09-11 (about 1 year ago)
Added
2024-09-11 (about 1 year ago)
Last Updated
2024-09-12 (about 1 year ago)

Other