LifterLMS <= 10.3.1 - Authenticated (Contributor+) Local File Inclusion via 'lifterlms_checkout' Shortcode Attributes
- 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: no
- Technical impact: total
Summary
The LifterLMS – WP LMS for eLearning, Online Courses, & Quizzes plugin for WordPress is vulnerable to Local File Inclusion in versions up to, and including, 10.3.1 via attacker-controlled attributes of the [lifterlms_checkout] shortcode. This is due to the llms_get_template() helper performing extract() on the shortcode attribute array before resolving the template path, which allows the attacker-supplied 'template_name' and 'default_path' shortcode attributes to overwrite the function's local parameters and ultimately control the path passed to a PHP include. This makes it possible for authenticated attackers, with Instructor-level access and above, to include and execute arbitrary files on the server, that can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where files with safe extensions containing attacker-controlled content can be uploaded and included.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- lifterlms LifterLMS – WP LMS for eLearning, Online Courses, & Quizzes
through 10.3.1
References 7
plugins.trac.wordpress.org
- browser/lifterlms/tags/10.3.1/includes/functions/llms.functions.template.php#L120
- browser/lifterlms/tags/10.3.1/includes/functions/llms.functions.template.php#L102
- browser/lifterlms/tags/10.3.1/includes/shortcodes/class.llms.shortcode.checkout.php#L138
- browser/lifterlms/tags/10.3.1/includes/shortcodes/class.llms.shortcode.checkout.php#L200
- browser/lifterlms/tags/10.3.1/includes/shortcodes/class.llms.shortcodes.php#L412
- changeset/3736899/lifterlms/trunk/includes/functions/llms.functions.template.php