|
|
| |
JFreeChart is "a popular Java-based chart library used to generate charts and graphs of data. The library includes support for generating HTML image maps, which allow for enhanced interaction of the chart via hyperlinks bound to shapes specified by coordinates".
Multiple cross-site scripting vulnerabilities exist within the image map support functionality of JFreeChart which may allow an attacker to inject arbitrary HTML or JavaScript into any product or website which uses the library. |
| |
Credit:
The information has been provided by Rapid7 Advisory.
The original article can be found at: http://www.rapid7.com/advisories/R7-0031.jsp
|
| |
Vulnerable Systems:
* JFreeChart version 1.0.8
Immune Systems:
* JFreeChart version 1.0.8 branch "jfreechart-1.0.8-security"
JFreeChart fails to properly escape the following properties of the generated image map:
* The chart name.
* The chart tool tip text.
* The href attribute for a chart area.
* The shape attribute for a chart area.
* The coords attribute for a chart area.
It is possible to inject custom HTML code into the code generated by the JFreeChart library. If a web server uses this library to generate charts from user-supplied data, an attacker could cause other users of the same website or application to execute arbitrary JavaScript code when viewing a page containing a chart.
Vendor status and information:
The JFreeChart project was notified of this vulnerability on November 28th, 2007 via their online bug tracking system. The vulnerability was fixed on December 6th 2007 with a commit to their SVN repository.
|
|
|
|
|
|
|
|