what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Rapid7 Security Advisory 31

Rapid7 Security Advisory 31
Posted Dec 8, 2007
Authored by Rapid7, Chad Loder | Site rapid7.com

Rapid7 Security Advisory - JFreeChart version 1.0.8 is susceptible to cross site scripting vulnerabilities.

tags | advisory, vulnerability, xss
SHA-256 | db2f22da130be7712b7839f2603c7dfac9b6b42c4068044300f28e7c16a589f4

Rapid7 Security Advisory 31

Change Mirror Download
_______________________________________________________________________
Rapid7 Security Advisory
Visit http://www.rapid7.com/ to download NeXpose,
SC Magazine Winner of Best Vulnerability Management product.
_______________________________________________________________________

Rapid7 Advisory R7-0031
JFreeChart Image Map Cross-Site Scripting Vulnerabilities

Published: Dec 06, 2007
Revision: 1.0
http://www.rapid7.com/advisories/R7-0031.jsp

1. Affected system(s):

KNOWN VULNERABLE:
o JFreeChart 1.0.8

KNOWN FIXED:
o JFreeChart 1.0.8 branch "jfreechart-1.0.8-security"

2. Summary

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.

3. Vendor status and information

JFreeChart Project
http://sourceforge.net/projects/jfreechart/

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.

4. Solution

Upgrade to JFreeChart SVN repository revision 682
using branch "jfreechart-1.0.8-security".

See http://jfreechart.svn.sourceforge.net/viewvc/jfreechart/
for details.

5. Detailed analysis

JFreeChart fails to properly escape the following properties of the
generated image map:

o The chart name.
o The chart tool tip text.
o The href attribute for a chart area.
o The shape attribute for a chart area.
o 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.

6. Credit

Discovered by Chad Loder of Rapid7.

7. Contact Information

Rapid7, LLC
Email: advisory@rapid7.com
Web: http://www.rapid7.com
Phone: +1 (617) 247-1717

8. Disclaimer and Copyright

Rapid7, LLC is not responsible for the misuse of the information
provided in our security advisories. These advisories are a service
to the professional security community. There are NO WARRANTIES with
regard to this information. Any application or distribution of this
information constitutes acceptance AS IS, at the user's own risk.
This information is subject to change without notice.

This advisory Copyright (C) 2007 Rapid7, LLC. Permission is hereby
granted to redistribute this advisory, providing that no changes are
made and that the copyright notices and disclaimers remain intact.
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    0 Files
  • 5
    Mar 5th
    0 Files
  • 6
    Mar 6th
    0 Files
  • 7
    Mar 7th
    0 Files
  • 8
    Mar 8th
    0 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    0 Files
  • 12
    Mar 12th
    0 Files
  • 13
    Mar 13th
    0 Files
  • 14
    Mar 14th
    0 Files
  • 15
    Mar 15th
    0 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    0 Files
  • 19
    Mar 19th
    0 Files
  • 20
    Mar 20th
    0 Files
  • 21
    Mar 21st
    0 Files
  • 22
    Mar 22nd
    0 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    0 Files
  • 26
    Mar 26th
    0 Files
  • 27
    Mar 27th
    0 Files
  • 28
    Mar 28th
    0 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close