Relevanssi Premium 1.14.4 SQL Injection

2016.11.19
Credit: Glyn Wintle
Risk: Medium
Local: No
Remote: Yes
CVE: N/A
CWE: CWE-89

Details ================ Software: Relevanssi Premium Version: v1.14.4 Homepage: https://www.relevanssi.com/ Advisory report: https://security.dxw.com/advisories/sql-injection-and-unserialization-vulnerability-in-relevanssi-premium-could-allow-admins-to-execute-arbitrary-code-in-some-circumstances/ CVE: Awaiting assignment CVSS: 9 (High; AV:N/AC:L/Au:S/C:C/I:C/A:C) Description ================ SQL injection and unserialization vulnerability in Relevanssi Premium could allow admins to execute arbitrary code (in some circumstances) Vulnerability ================ Relevanssi has a search function on the admin side that is not visible in the user interface, however the code is there and can be called. This functionality contains an sql injection, and this sql injection can be exploited to pass user controlled values into an unserialization call and run arbitrary code (if there are classes available with particular methods such as __destruct). If a logged in admin user is tricked into going to an attacker controlled website, JavaScript could be written to make the admins browser submit the above request, without their knowledge (see 2.3 Social engineering, p.18). Alternatively this attack can be exploited by an attacker with Admin privileges. Proof of concept ================ AchievingA arbitrary code executionA depends onA which classes are available (i.e. which plugins and themes are installed and active). It wonat be possible in all situations. Mitigations ================ Upgrade to versionA 1.14.6.1 or later. Disclosure policy ================ dxw believes in responsible disclosure. Your attention is drawn to our disclosure policy: https://security.dxw.com/disclosure/ Please contact us on security@dxw.com to acknowledge this report if you received it via a third party (for example, plugins@wordpress.org) as they generally cannot communicate with us on your behalf. This vulnerability will be published if we do not receive a response to this report with 14 days. Timeline ================ 2016-10-07: Discovered 2016-11-01: Reported 2016-11-02:A Vendor reported fixed 2016-11-17: Requested CVE 2016-11-17:A Advisory published Discovered by dxw: ================ Glyn Wintle Please visit security.dxw.com for more information.


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2019, cxsecurity.com

 

Back to Top