IBM Support

JR56449: Vulnerability in product listing pages

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The IMG tag can be inserted into the product listing page by
    manipulating the input parameters.
    

Local fix

  • Update the
    \Widgets_701\com.ibm.commerce.store.widgets.CatalogEntryList\Cat
    alogEntryList_Data.jspf file:
    
    1. Find the following code block:
    
    <c:set var="categoryIds" value="{top_category:
    '${WCParam.top_category}', parent_category_rn:
    '${WCParam.parent_category_rn}', categoryId:
    '${WCParam.categoryId}'}" scope="request"/>
    
    Replace the code block with the following modified code:
    
    <c:set var="categoryIds" value="{top_category:
    '${fn:escapeXml(WCParam.top_category)}', parent_category_rn:
    '${fn:escapeXml(WCParam.parent_category_rn)}', categoryId:
    '${fn:escapeXml(WCParam.categoryId)}'}" scope="request"/>
    

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce Version 7 Feature Pack 8.
    
    PROBLEM ABSTRACT:
    Vulnerability in product listing pages
    
    BUSINESS IMPACT:
    An image tag can be inserted into DOM.
    
    RECOMMENDATION:
    

Problem conclusion

  • Updated to escape any XML / HTML characters.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR56449

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-08-05

  • Closed date

    2016-09-13

  • Last modified date

    2016-09-13

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
12 December 2021