LearnPress <= 4.3.6 - Unauthenticated Sensitive Information Exposure via 'c_status' and 'return_type' Parameters
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
The LearnPress – WordPress LMS Plugin for Create and Sell Online Courses plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 4.3.6 via the 'return_type' parameter. This makes it possible for unauthenticated attackers to extract sensitive data including the plaintext post_password of password-protected courses and the full post_content, post_author, and post_name of unpublished draft, private, and pending courses via the unrestricted SELECT * fallback query. Exploitation requires supplying both c_status=all (to bypass the publish-only post_status WHERE clause) and return_type=json (to prevent the safe DISTINCT(ID) AS ID field override) in a single unauthenticated request to the /wp-json/lp/v1/courses/archive-course endpoint.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- thimpress LearnPress – WordPress LMS Plugin for Create and Sell Online Courses
through 4.3.6
References 14
plugins.trac.wordpress.org
- browser/learnpress/tags/4.3.6/inc/Models/Courses.php#L200
- browser/learnpress/tags/4.3.6/inc/Models/Courses.php#L126
- browser/learnpress/tags/4.3.6/inc/rest-api/v1/frontend/class-lp-rest-courses-controller.php#L196
- browser/learnpress/tags/4.3.6/inc/rest-api/v1/frontend/class-lp-rest-courses-controller.php#L68
- browser/learnpress/tags/4.3.6/inc/Databases/class-lp-course-db.php#L472
- browser/learnpress/tags/4.3.6/inc/Databases/class-lp-db.php#L610
- browser/learnpress/tags/4.3.2.8/inc/Models/Courses.php#L200
- browser/learnpress/tags/4.3.2.8/inc/Models/Courses.php#L126
- browser/learnpress/tags/4.3.2.8/inc/rest-api/v1/frontend/class-lp-rest-courses-controller.php#L196
- browser/learnpress/tags/4.3.2.8/inc/rest-api/v1/frontend/class-lp-rest-courses-controller.php#L68
- browser/learnpress/tags/4.3.2.8/inc/Databases/class-lp-course-db.php#L472
- browser/learnpress/tags/4.3.2.8/inc/Databases/class-lp-db.php#L610
- changeset?sfp_email=&sfph_mail=&reponame=&old=3545523%40learnpress&new=3545523%40learnpress&sfp_email=&sfph_mail=