<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:54:54 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>[CONTROLLER-1187] [SECURITY] Authentication bypass in opendaylight realm CVE-2015-1778</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1187</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Flavio Fernandes reported:&lt;/p&gt;

&lt;p&gt;Today on Helium (including SR1.1 and SR2) the neutron northbound uses basicAuth.&lt;/p&gt;

&lt;p&gt;While the rest server (port 8080) will reject an http w/out the auth header, it does not&lt;br/&gt;
really check if the username:password provided are valid.&lt;/p&gt;

&lt;p&gt;Quick way of demonstrating this:&lt;/p&gt;

&lt;p&gt;      curl &lt;a href=&quot;http://192.168.50.1:8080/controller/nb/v2/neutron/networks&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.50.1:8080/controller/nb/v2/neutron/networks&lt;/a&gt;     &amp;lt;== 401, correct&lt;br/&gt;
      curl -u wrong:bad  &lt;a href=&quot;http://192.168.50.1:8080/controller/nb/v2/neutron/networks&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.50.1:8080/controller/nb/v2/neutron/networks&lt;/a&gt;  &amp;lt;== 200, bad!&lt;/p&gt;

&lt;p&gt;Please make sure that security issue is taken care of.&lt;/p&gt;

&lt;p&gt;Note this is not an issue in Lithium codebase, once we changed to jetty. I did not try Hydrogen.&lt;/p&gt;

&lt;p&gt;David Jorm investigated and found the offending code:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/opendaylight/controller/blob/stable/helium/opendaylight/karaf-tomcat-security/src/main/java/org/opendaylight/controller/karafsecurity/ControllerCustomRealm.java#L40&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/controller/blob/stable/helium/opendaylight/karaf-tomcat-security/src/main/java/org/opendaylight/controller/karafsecurity/ControllerCustomRealm.java#L40&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This will accept any username/password combination. If I change line 40 to &quot;return null;&quot; and recompile, then no username/password combination is accepted. It appears that the &quot;opendaylight&quot; realm (which uses this custom realm class) is widely used by several interfaces. I think a patch should drop the custom realm class and use UserDatabaseRealm or similar instead.&lt;/p&gt;

&lt;p&gt;Colin Dixon is now working on a patch, targeting the SR3 release.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25741">CONTROLLER-1187</key>
            <summary>[SECURITY] Authentication bypass in opendaylight realm CVE-2015-1778</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <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="david.jorm@gmail.com">David Jorm</assignee>
                                    <reporter username="david.jorm@gmail.com">David Jorm</reporter>
                        <labels>
                    </labels>
                <created>Mon, 9 Mar 2015 00:42:56 +0000</created>
                <updated>Sat, 14 Mar 2015 00:48:14 +0000</updated>
                            <resolved>Sat, 14 Mar 2015 00:48:14 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>usermanager</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="50203" author="david.jorm@gmail.com" created="Wed, 11 Mar 2015 09:45:15 +0000"  >&lt;p&gt;Proposed patch for stable/helium: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/16307/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/16307/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="50204" author="david.jorm@gmail.com" created="Sat, 14 Mar 2015 00:48:14 +0000"  >&lt;p&gt;The patch has been merged, and will be included in the SR3 release.&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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2798</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=2798]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10385"><![CDATA[Helium-3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10313"><![CDATA[Highest]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02p0v:</customfieldvalue>

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