Lucene search

K
ibmIBME103076C4F96D801D63F3AB47B52FB7C4F0E1D24FF4AD5B2E5A80D148B190C49
HistoryApr 20, 2020 - 2:50 p.m.

Security Bulletin: Rational Automation Framework Environment Wizard Vulnerability (CVE-2012-4816)

2020-04-2014:50:31
www.ibm.com
19

EPSS

0.005

Percentile

75.2%

Summary

Accessing the IBM Rational Automation Framework web user interface via the standard port 80 forces a login prompt to the user. However, a user can bypass this by hitting the default application server port 8080 and browsing various context roots until they locate the wizard.

Vulnerability Details

| Subscribe to My Notifications to be notified of important product support alerts like this.

  • Follow this link for more information (requires login with your IBM ID)
    —|—

**CVEID:**CVE-2012-4816

Description:
Accessing the Rational Automation Framework (RAF) web UI via the standard port 80 forces a login prompt to the user. However, a user can bypass this by hitting the default application server port 8080 and browsing various context roots until they locate the wizard.

CVSS Base Score: 7.5 **CVSS Temporal Score:**See <https://exchange.xforce.ibmcloud.com/vulnerabilities/78379&gt; for the current score *CVSS Environmental Score:**Undefined CVSS Vector: (AV:N/AC:L/Au:N/C:P/I:P/A:P)

Affected Products and Versions

Rational Automation Framework 3.0 and later on all supported platforms.

Remediation/Fixes

None

Workarounds and Mitigations

Workaround(s):

Environment Generation Security Patch for Tomcat

1. Modify the files below to fix the Env Gen Wizard default access without login.

Path: C:\IBM\\Apache\tomcat\conf
File: tomcat-users.xml

Add user profile between the <tomcat-users> tag
&lt;role rolename="admin"/&gt;
&lt;user username="admin" password="test123" roles="admin"/&gt;

2. Add the below components above the </web-app> tag

Path: C:\IBM\Apache\tomcat\webapps\rafw\WEB-INF
File: Web.xml
&lt;security-role&gt;
&lt;role-name&gt;admin&lt;/role-name&gt;
&lt;/security-role&gt;

&lt;security-constraint&gt;
&lt;display-name&gt;Environment Generation&lt;/display-name&gt;
&lt;web-resource-collection&gt;
&lt;web-resource-name&gt;Administration&lt;/web-resource-name&gt;
&lt;url-pattern&gt;/rafw/*&lt;/url-pattern&gt;
&lt;/web-resource-collection&gt;


&lt;auth-constraint&gt;
&lt;role-name&gt;admin&lt;/role-name&gt;
&lt;/auth-constraint&gt;
&lt;user-data-constraint&gt;
&lt;transport-guarantee&gt;CONFIDENTIAL&lt;/transport-guarantee&gt;
&lt;/user-data-constraint&gt;
&lt;/security-constraint&gt;

``
&lt;login-config&gt;
&lt;auth-method&gt;BASIC&lt;/auth-method&gt;
&lt;realm-name&gt;Secure Area&lt;/realm-name&gt;
&lt;/login-config&gt;

3. Restart BuildForge.


Environment Generation Security Patch for WebSphere Application Server (WAS 7.0 & 8.0)

Update the web.xml File

1. There are two copies of the web.xml file, located in the following directories:

/WAS_install_root/installedApps/&lt;cellname&gt;/rweb.ear/rweb.war/WEB-INF/web.xml

/WAS_install_root/config/cells/&lt;cellname&gt;/applications/rweb.ear/deployments/rweb/rweb.war/WEB-INF/web.xml

Note: If this is a WebSphere Application Server Network Deployment, there is an additional web.xml that must be updated:

/IBM/WebSphere/AppServer/profiles/Dmgr01/config/cells/&lt;dellname&gt;/applications/rweb_war.ear/deployments/rweb_war/rweb.war/web.xml

2. Insert the below basic authentication and security role to the three web.xml files

&lt;security-constraint&gt;
&lt;display-name&gt;Environment Generation&lt;/display-name&gt;
&lt;web-resource-collection&gt;
&lt;web-resource-name&gt;Security constraint for Env Gen&lt;/web-resource-name&gt;
&lt;url-pattern&gt;/rafw/*&lt;/url-pattern&gt;
&lt;/web-resource-collection&gt;
&lt;auth-constraint&gt;
&lt;role-name&gt;admin&lt;/role-name&gt;
&lt;/auth-constraint&gt;
&lt;user-data-constraint&gt;
&lt;transport-guarantee&gt;CONFIDENTIAL&lt;/transport-guarantee&gt;
&lt;/user-data-constraint&gt;
&lt;/security-constraint&gt;
&lt;login-config&gt;
&lt;auth-method&gt;BASIC&lt;/auth-method&gt;
&lt;/login-config&gt;

&lt;security-role&gt;
&lt;role-name&gt;admin&lt;/role-name&gt;
&lt;/security-role&gt;

3. Enable WebSphere Application Server security:

Open WebSphere Administrative console using the url http://:/ibm/console

  • In the WebSphere Application Server administrative console, click Security > Global Security.
  • Select Enable administrative security.
  • Ensure Enable application security is selected

4. Map Security Roles in Web.xml to WAS Manage User/Group.

  • Select Application > WebSphere Enterprise Applications > Rational Automation Framework
  • Under the Detailed Properties section you will see a link Security role to user/group mapping. _
    The link will appear only if your web.xml is setup correctly click the Security role to user/group mapping_
  • Select the roles you wish to use for authentication
  • Click on Map Users or Map groups
  • Click search and select users (that are setup in your websphere under Users and Groups menu)
  • Use the arrows to move the selected users/groups to the right hand box
  • Click ok and save to master configuration.

Use: https://:9443/rbf-services/LoginServlet if there is any problem in RAF server auto-redirect.

**Try logging in using default WAS port :http://:9080/rafw/env **

Mitigation(s):

None

EPSS

0.005

Percentile

75.2%

Related for E103076C4F96D801D63F3AB47B52FB7C4F0E1D24FF4AD5B2E5A80D148B190C49