<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:37:49 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[SDNINTRFAC-14] SQL injection in the component database(SQLite) without authenticating to the controller or SDNInterfaceapp.</title>
                <link>https://jira.opendaylight.org/browse/SDNINTRFAC-14</link>
                <project id="10166" key="SDNINTRFAC">sdninterfaceapp</project>
                    <description>&lt;p&gt;#security-status: confirmed&lt;/p&gt;

&lt;p&gt;&lt;ins&gt;&lt;font color=&quot;#ff0000&quot;&gt;Please Note: This issue is a possible security vulnerability, do not discuss outside of this Jira or stage any patches on gerrit until the embargo process reaches that stage.&lt;/font&gt;&lt;/ins&gt;&lt;br/&gt;
&#160;&lt;br/&gt;
I am Feng Xiao and Jianwei Huang, from Wuhan University.&lt;br/&gt;
I am writing to report a vulnerability in one of the components of Opendaylight, SDNInterfaceapp (SDNI).&lt;br/&gt;
With this bug, attackers can SQL inject the component&apos;s database(SQLite) &#160;without authenticating to the controller or SDNInterfaceapp.&lt;br/&gt;
&#160;&lt;br/&gt;
The bug is in&#160;/impl/src/main/java/org/opendaylight/sdninterfaceapp/impl/database/SdniDataBase.java (line 373~391)&lt;br/&gt;
&#160;&lt;br/&gt;
As we can see, the SDNI concats&#160;port information to build an insert SQL query, and it executes&#160;the query in SQLite.&lt;br/&gt;
However, in line 386, the portName is a string that can be customized by switches. Since SQLite supports multiple sql queries in one run,&lt;br/&gt;
attackers can customize the port name to inject another SQL if they compromise or forge a switch.&lt;br/&gt;
&#160;&lt;br/&gt;
For example, he can set portName as:&lt;br/&gt;
&quot;);drop table NAME;//&lt;br/&gt;
&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="29941">SDNINTRFAC-14</key>
            <summary>SQL injection in the component database(SQLite) without authenticating to the controller or SDNInterfaceapp.</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.opendaylight.org/images/icons/priorities/minor.svg">Low</priority>
                        <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="lukehinds">Luke Hinds</assignee>
                                    <reporter username="lukehinds">Luke Hinds</reporter>
                        <labels>
                            <label>security</label>
                    </labels>
                <created>Tue, 8 May 2018 08:39:43 +0000</created>
                <updated>Fri, 18 May 2018 13:07:10 +0000</updated>
                            <resolved>Fri, 18 May 2018 13:07:10 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="62987" author="lukehinds" created="Fri, 18 May 2018 13:07:10 +0000"  >&lt;p&gt;Released as security note, as the SDNI project is no longer maintained.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03eef:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>