Bug 1480060 - (CVE-2017-7556) CVE-2017-7556 Hawtio: CSRF flaw via jolokia
CVE-2017-7556 Hawtio: CSRF flaw via jolokia
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20170809,repor...
: Security
Depends On: 1480884
Blocks: 1479654
  Show dependency treegraph
 
Reported: 2017-08-09 23:44 EDT by Hooman Broujerdi
Modified: 2018-05-10 14:22 EDT (History)
22 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
It was found that hawtio contains a CSRF flaw that allows unrelated websites to perform actions as the authenticated user. Attackers could use this vulnerability to trick the user to visit his website that contains a malicious script which can be submitted to hawtio server on behalf of the user.
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)

  None (edit)
Description Hooman Broujerdi 2017-08-09 23:44:22 EDT
It was found that hawtio contains a CSRF flaw that allows unrelated websites to perform actions as the authenticated in user. Attacker could use this vulnerability to trick the user to visit his website that contains a malicious script which can be submitted to hawtio server on behalf of the user.
Comment 2 Hooman Broujerdi 2017-08-28 19:14:32 EDT
Mitigation: the recommended mitigation to this problem is to manually setup <allow-origin> lists and <strict-checking /> in a custom jolokia-access.xml for production environment: 

<restrict>
    <cors>
        <allow-origin>http*://localhost:*</allow-origin>
        <allow-origin>http*://127.0.0.1:*</allow-origin>
        <allow-origin>http*://myhostname1:*</allow-origin>
        <allow-origin>http*://myhostname2:*</allow-origin>
        <allow-origin>http*://myhostname3:*</allow-origin>
        <strict-checking />
    </cors>
</restrict>

and add a new system property to include jolokia access configuration:
EXTRA_JAVA_OPTS='-Djolokia.policyLocation=file:///home/fuse/jolokia-access.xml' bin/fuse
Comment 3 Jason Shepherd 2018-04-03 00:24:42 EDT
Hawtio is not included in OCP. Setting as notaffected.

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