Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 

 View Only
  • 1.  web.config flagged by customer security scan

    Posted Thu July 23, 2020 04:08 PM
    We have a client who ran a security scan and web.config was flagged. If you use the URL http:\\CognosSite:PortNumber\web.config anyone that uses Cognos can see the contents of that file. Not sure why that is a security threat but my client wants it "fixed". Is this the normal setup for a web service or is there something that I can do to lock down web.config?

    ------------------------------
    brenda grossnickle
    BI Programmer Analyst
    FIS
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: web.config flagged by customer security scan

    Posted Fri July 24, 2020 06:50 AM

    Brenda – if you are using Microsoft IIS, there should be a setting that prevents users from listing files.

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    Peter Chan

    613-295--0428

     






  • 3.  RE: web.config flagged by customer security scan

    Posted Thu July 30, 2020 03:57 PM
    And adding some, if you are using Apache remove Indexes option from your cognos Directory


    <Directory cognos_install/analytics-gw>
    <IfModule mod_deflate>
    AddOutputFilterByType DEFLATE text/html application/json text/css application/javascript
    </IfModule>
    Options Indexes MultiViews
    AllowOverride None
    Require all granted
    </Directory>

    ------------------------------
    JEAM COELHO
    ------------------------------



  • 4.  RE: web.config flagged by customer security scan

    Posted Mon August 03, 2020 08:24 AM

    After doing some research on the issue I found an article from IBM saying how this fixed the issue for 11.1  

     

    https://www.ibm.com/support/pages/node/966943

     

    I tried it on our system and it worked. I sent the steps to Investar bank and it also solved there issue.

     

     

    Here is how to correct the issue

     

    1. Create this folder on the H360 Application Server  WEB-INF

     

    x:\Program Files\IBM\CognosAnalytics\Bankxx\webcontent\WEB-INF

     

    1. Put the attached file in the folder.

     

    1. Stop and Restart the IBM Cognos Service


    ------------------------------
    brenda grossnickle
    BI Programmer Analyst
    FIS
    ------------------------------