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

ProCheckUp Security Advisory 2008.1

ProCheckUp Security Advisory 2008.1
Posted Feb 20, 2008
Authored by ProCheckUp, Richard Brain, Jan Fry, Bruno Kovacs | Site procheckup.com

Several cross site scripting flaws, a cross domain redirect, and a webroot disclosure exist in Spyce - Python Server Pages (PSP).

tags | exploit, xss, python
SHA-256 | 077c9b43accad72d480303905614e7aa18daede74be5a5154085b44e93788a0a

ProCheckUp Security Advisory 2008.1

Change Mirror Download
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


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:


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:


Requesting the following URL returns the server's webroot:



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.


Remove sample scripts from live environments.



Credits: Richard Brain, Jan Fry, and Bruno Kovacs of ProCheckUp Ltd


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.

Login or Register to add favorites

File Archive:

September 2023

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

Top Authors In Last 30 Days

File Tags


packet storm

© 2022 Packet Storm. All rights reserved.

Security Services
Hosting By