Lucene search
+L

Aperto Blog 0.1.1 - Local File Inclusion / SQL Injection

🗓️ 15 Dec 2008 00:00:00Reported by NoGeType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 32 Views

Aperto Blog 0.1.1 Local File Inclusion / SQL Injection Vulnerabilitie

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2008-5775
15 Dec 200800:00
circl
circl
Circl
CVE-2008-5776
15 Dec 200800:00
circl
cve
CVE
CVE-2008-5775
30 Dec 200820:00
cve
cve
CVE
CVE-2008-5776
30 Dec 200820:00
cve
cvelist
Cvelist
CVE-2008-5775
30 Dec 200820:00
cvelist
cvelist
Cvelist
CVE-2008-5776
30 Dec 200820:00
cvelist
euvd
EUVD
EUVD-2008-5745
7 Oct 202500:30
euvd
euvd
EUVD
EUVD-2008-5746
7 Oct 202500:30
euvd
nvd
NVD
CVE-2008-5775
30 Dec 200820:30
nvd
nvd
NVD
CVE-2008-5776
30 Dec 200820:30
nvd
Rows per page

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


  [o] Aperto Blog 0.1.1 Local File Inclusion and SQL Injection Vulnerabilities

       Software : Aperto Blog version 0.1.1
       Vendor   : http://code.google.com/p/apertoblog/
       Download : http://code.google.com/p/apertoblog/downloads/list
       Author   : NoGe
       Contact  : noge[dot]code[at]gmail[dot]com
       Blog     : http://evilc0de.blogspot.com


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


  [o] Vulnerable file

       admin.php

        if(isset($_GET['action'])) {
        if($_GET['action']=="logout") {
        session_destroy();
        go('index.php');
        } else {
        if(file_exists($_GET['action'].".php")) {
        include($_GET['action'].".php");
        } else {
        echo "404";

       index.php

        if(!$_GET['get']) {
        $articles = mysql_query("SELECT * FROM articles ORDER BY id DESC LIMIT 10");
        while($row = mysql_fetch_array($articles)) {
        showarticle($row, $settings[5]);
        }
        } elseif(file_exists($_GET['get'].".php")) {
        include($_GET['get'].".php");
        } else {
        echo "404";

       categories.php

        if(isset($_GET['id'])) {
        $cid = $_GET['id'];
        //Load category info
        $getcat = mysql_query("SELECT * FROM categories WHERE id='$cid'");



  [o] Exploit

       [ Local File Inclusion ]

     http://localhost/[path]/admin.php?action=[LFI]
     http://localhost/[path]/index.php?get=[LFI]

       [ SQL Injection ]

     http://localhost/[path]/categories.php?id=[SQL]


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


  [o] Greetz

       MainHack BrotherHood [ http://mainhack.com/ ]
       Vrs-hCk OoN_BoY Paman bL4Ck_3n91n3 loqsa
       H312Y yooogy mousekill }^-^{ kaka11 martfella
       skulmatic OLiBekaS ulga Cungkee k1tk4t str0ke

       GANYANG MALINGSIAL!!! [ http://malingsial.serverisdown.org/ ]


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

# milw0rm.com [2008-12-15]

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