Lucene search
K

OpenDaylight - SQL Injection

🗓️ 24 May 2018 00:00:00Reported by Exploit-DBType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 71 Views

OpenDaylight SQL Injection in SDNIDataBase.jav

Related
Code
ReporterTitlePublishedViews
Family
0day.today
OpenDaylight - SQL Injection Vulnerability
24 May 201800:00
zdt
CNVD
OpenDaylight Controller SQL Injection Vulnerability
5 Jun 201800:00
cnvd
CVE
CVE-2018-1132
20 Jun 201813:00
cve
Cvelist
CVE-2018-1132
20 Jun 201813:00
cvelist
EUVD
EUVD-2018-11775
7 Oct 202500:30
euvd
NVD
CVE-2018-1132
20 Jun 201813:29
nvd
OSV
CVE-2018-1132
20 Jun 201813:29
osv
Packet Storm
OpenDaylight SQL Injection
24 May 201800:00
packetstorm
Prion
Design/Logic Flaw
20 Jun 201813:29
prion
RedhatCVE
CVE-2018-1132
22 May 201805:19
redhatcve
Rows per page
# Exploit Title: OpenDaylight SQL Injection
# Date: 2018-05-24
# Exploit Author: JameelNabbo
# Website: jameelnabbo.com 
# Vendor Homepage: https://www.opendaylight.org 
# CVE: CVE-2018-1132


intro:
OpenDaylight (ODL) is a modular open platform for customizing and automating networks of any size and scale. The OpenDaylight Project arose out of the SDN movement, with a clear focus on network programmability. It was designed from the outset as a foundation for commercial solutions that address a variety of use cases in existing network environments.

attackers can SQL inject the component's database(SQLite)  without authenticating to the controller or SDNInterfaceapp.

The bug is in /impl/src/main/java/org/opendaylight/sdninterfaceapp/impl/database/SdniDataBase.java (line 373~391)

The SDNI concats port information to build an insert SQL query, and it executes the query in SQLite.
However, in line 386, the portName is a string that can be customized by switches. Since SQLite supports multiple sql queries in one run,
attackers can customize the port name to inject another SQL if they compromise or forge a switch.
 
POC:
For example, he can set portName as:
");drop table NAME;//

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

24 May 2018 00:00Current
9.1High risk
Vulners AI Score9.1
CVSS 27.5
CVSS 37.5 - 9.8
EPSS0.01894
71