Tutor LMS <= 4.0.7 - Authenticated (Custom+) Insecure Direct Object Reference to Arbitrary Quiz Question/Answer Modification and Deletion via 'payload' Parameter
- 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: partial
Summary
The Tutor LMS – eLearning and online course solution plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions up to, and including, 4.0.7 via the tutor_quiz_builder_save AJAX action due to missing validation that nested question_id, answer_id, deleted_question_ids[], and deleted_answer_ids[] values in the submitted payload belong to a quiz/topic/course the requester is authorized to manage. The handler only validates the top-level course_id, topic_id, and (when supplied) payload['ID'], but the nested identifiers are passed straight into $wpdb->update/DELETE statements in QuizBuilder::save_questions(), QuizBuilder::save_question_answers(), and QuizBuilder::handle_delete(). This makes it possible for authenticated attackers, with Instructor-level access and above, to overwrite the content and re-parent arbitrary quiz questions/answers belonging to other instructors or administrators, and to delete arbitrary quiz question and answer rows.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- themeum Tutor LMS – eLearning and online course solution
through 4.0.7
References 12
plugins.trac.wordpress.org
- browser/tutor/tags/4.0.3/classes/QuizBuilder.php#L291
- browser/tutor/tags/4.0.3/classes/QuizBuilder.php#L156
- browser/tutor/tags/4.0.3/classes/QuizBuilder.php#L423
- browser/tutor/tags/4.0.3/classes/QuizBuilder.php#L430
- browser/tutor/tags/4.0.3/classes/QuizBuilder.php#L781
- browser/tutor/tags/3.9.10/classes/QuizBuilder.php#L291
- browser/tutor/tags/3.9.10/classes/QuizBuilder.php#L156
- browser/tutor/tags/3.9.10/classes/QuizBuilder.php#L423
- browser/tutor/tags/3.9.10/classes/QuizBuilder.php#L430
- browser/tutor/tags/3.9.10/classes/QuizBuilder.php#L781
- changeset/3690454/tutor/tags/4.0.8/classes/QuizBuilder.php