Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1509183

Summary: [GSS](6.4.z) The fix for CVE-2017-2582 breaks the feature of attribute replacement with system property in picketlink.xml
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Jiří Bílek <jbilek>
Component: SecurityAssignee: Jiri Ondrusek <jondruse>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Truhlar <jtruhlar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.18CC: anmiller, bdawidow, bmaxwell, darran.lofthouse, dosoudil, jondruse, pskopek
Target Milestone: CR1Keywords: Regression
Target Release: EAP 6.4.19   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1594389 (view as bug list) Environment:
Last Closed: 2018-04-16 11:03:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1414138    
Bug Blocks: 1498153, 1509801, 1594389, 1611832    

Description Jiří Bílek 2017-11-03 09:50:14 UTC
Picketlink/EAP 6.4.17 is passing the values as a system property but after an update to 6.4.18,  variables aren't resolved anymore at picketlink startup.
{code}
<PicketLink xmlns="urn:picketlink:identity-federation:config:2.1">
        <PicketLinkSP xmlns="urn:picketlink:identity-federation:config:2.1"
                BindingType="POST"
                LogOutPage="/myLogoutPage"
                IDPUsesPostBinding="true"
                SupportsSignatures="true">

                <IdentityURL>${plink.IDPurl}</IdentityURL>
                <ServiceURL>${plink.SPurl}</ServiceURL>
...
{code}

in standalone.xml we defined the system properties:
{code}
<system-properties>
...
      <property name="plink.IDPurl" value="https://www.myidp.com"/>
      <property name="plink.SPurl" value="https://mysp.com/"/>
...
{code}

Error Snippet:
{code}
2017-10-10 15:34:12,930 ERROR [org.picketlink.common] (ServerService Thread Pool -- 64) Exception creating TrustKeyManager:: java.net.MalformedURLException: no protocol: ${plink.IDPurl}
{code}

The fix for BZ1414138 is the cause of the issue.

Comment 5 Jiří Bílek 2018-01-04 16:56:33 UTC
Verified with EAP 6.4.19.CP.CR1