Digital Scribe 1.5 (register_form()) Multiple POST XSS Vulnerabilities
Title: Digital Scribe 1.5 (register_form()) Multiple POST XSS Vulnerabilities
Advisory ID: ZSL-2011-5030
Type: Remote
Impact: Cross-Site Scripting
Risk: (3/5)
Release Date: 31.07.2011
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Apache 2.2.14 (Win32)
PHP 5.3.1
MySQL 5.1.41
[28.07.2011] Initial contact with the vendor.
[30.07.2011] No reply from vendor.
[31.07.2011] Public security advisory released.
[2] http://packetstormsecurity.org/files/103607
[3] http://securityreason.com/wlb_show/WLB-2011080008
[4] http://secunia.com/advisories/37715/
[5] http://www.securityfocus.com/bid/48945
[6] http://xforce.iss.net/xforce/xfdb/68936
[01.08.2011] - Added reference [3], [4] and [5]
[04.08.2011] - Added reference [6]
Web: http://www.zeroscience.mk
e-mail: lab@zeroscience.mk
Advisory ID: ZSL-2011-5030
Type: Remote
Impact: Cross-Site Scripting
Risk: (3/5)
Release Date: 31.07.2011
Summary
The Digital Scribe is a free, intuitive system designed to help teachers put student work and homework assignments online.Description
Digital Scribe suffers from multiple POST XSS vulnerabilities. Input thru the POST parameters 'title', 'last' and 'email' in register.php is not sanitized allowing the attacker to execute HTML code into user's browser session on the affected site.--------------------------------------------------------------------------------
register.php
----------------
21: function register_form() {
22: global $user, $email, $last, $title, $passuno, $passuno2, $_POST, $_GET;
23: include("access.inc.php");
24: ?>
25: <FORM METHOD=POST ACTION=register.php>
26: <table><tr><td align=right>
27: Title:</td><td><INPUT TYPE=TEXT NAME=title VALUE="<?php echo ($_POST['title']); ?>" SIZE=4> (Mr., Mrs., etc)
28: </td></tr>
29: <tr><td align=right>Last Name:</td><td><INPUT TYPE=TEXT NAME=last VALUE="<?php echo ($_POST['last']); ?>"></td></tr>
30: <tr><td align=right>Password:</td><td><INPUT TYPE=PASSWORD NAME=passuno></td></tr>
31: <tr><td>
32: Password Again:</td><td><INPUT TYPE=passWORD NAME=passuno2></td></tr>
33: <tr><td align=right>
34: E-Mail:</td><td><INPUT TYPE=TEXT NAME=email SIZE=34 VALUE=<?php echo $_POST['email'] ?>></td>
35: </tr><tr><td>
36: <?php
37: IF($_GET['type']=='a' OR $_POST['announcements']==4) {
38: echo '<INPUT TYPE=HIDDEN NAME=announcements VALUE=4>';
39: }
--------------------------------------------------------------------------------
Vendor
Digital Scribe - http://www.digital-scribe.orgAffected Version
1.5Tested On
Microsoft Windows XP Professional SP3 (EN)Apache 2.2.14 (Win32)
PHP 5.3.1
MySQL 5.1.41
Vendor Status
[28.07.2011] Vulnerabilities discovered.[28.07.2011] Initial contact with the vendor.
[30.07.2011] No reply from vendor.
[31.07.2011] Public security advisory released.
PoC
digitalscribe_xss.htmlCredits
Vulnerability discovered by Gjoko Krstic - <gjoko@zeroscience.mk>References
[1] http://www.exploit-db.com/exploits/17590/[2] http://packetstormsecurity.org/files/103607
[3] http://securityreason.com/wlb_show/WLB-2011080008
[4] http://secunia.com/advisories/37715/
[5] http://www.securityfocus.com/bid/48945
[6] http://xforce.iss.net/xforce/xfdb/68936
Changelog
[31.07.2011] - Initial release[01.08.2011] - Added reference [3], [4] and [5]
[04.08.2011] - Added reference [6]
Contact
Zero Science LabWeb: http://www.zeroscience.mk
e-mail: lab@zeroscience.mk