6347 : CGI.pm Multiple Function XSS
Printer | http://osvdb.org/6347 | Email This | Edit Vulnerability

Views This Week

1

Views All Time

23

Info

Last Modified

6 months ago

Percent Complete

100%

Disclosure

Jul 19, 2003

Discovery

Apr 30, 2003

Dates

Exploit

Jul 19, 2003

Solution

Unknown

Description

CGI.pm contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate $action variables upon submission to the startform() script. This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.

Classification

Location: Remote/Network Access Required
Attack Type: Input Manipulation
Impact: Loss of Integrity
Exploit: Exploit Available
Disclosure: OSVDB Verified
OSVDB: Web Related

Solution

Upgrade to version 2.99 or higher, as it has been reported to fix this vulnerability. It is also possible to correct the flaw by implementing the following workaround(s):
Apply patch for 2.98
or
Add the following line in startform() function, after subroutine "unless (defined $action) { }"
$action =~ s/\"/%22/g; # fix cross-site scripting bug reported by obscure

Products

Lincoln D. Stein
Watch-list
CGI.pm
Watch-list
2.98

References

Tools & Filters

Nessus

12415 14066 15208

Manual Testing Notes

Credit

  • Obscure^ - obscureBrand New Doo Dooeyeonsecurity.org - Eye on Security
  • Erwann Corvellec - Erwann.CorvellecBrand New Doo Doofree.fr -

Blogs

None found at this time

Comments

No Comments.

DONATE NOW!

User Status

Quick Searches

Advertisements

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2008 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use