[38902] in bugtraq

home help back first fref pref prev next nref lref last post

Re: [SePro Bugtraq] WBB Portal - JGS-Portal <= 3.0.2 - Multiple Vulnerabilities (09.05.05)

daemon@ATHENA.MIT.EDU (Steven M. Christey)
Wed May 18 15:30:52 2005

Date: Tue, 17 May 2005 17:51:29 -0400 (EDT)
Message-Id: <200505172151.j4HLpThM004829@linus.mitre.org>
From: "Steven M. Christey" <coley@mitre.org>
To: deluxe@securityproject.org, bugtraq@securityfocus.com


>Cross Site Scripting:
>-------------------------
>You can abuse the SQL-Injections for XSS attacks.

Does this occur because the XSS-style attacks are being injected into
SQL queries, which then generate errors because the queries are
malformed, and then PHP blindly reflects the malformed query back to
the user without quoting XSS-relevant characters?  That would seem to
be more of a problem with the application's runtime environment
(i.e. PHP) than JGS-Portal itself.

Part of why I ask this is because these days, a lot of people are
reporting both XSS and SQL injection problems for the same
applications and the same parameters, which could well be traced back
to the same underlying SQL injection problem in the application.
Whether "error reflection XSS" is PHP's fault or the application's
fault is another question.

- Steve

home help back first fref pref prev next nref lref last post