IBM Scan Tool AppScan Vulnerability "decrypted login request" fix solution

Source: Internet
Author: User

Recently, when fixing a system vulnerability, using the new AppScan Scan IIS site (WebForm) has a serious vulnerability "decrypted login request".

The scan tool fixes the recommendation to not use controls with the "password" type or encrypt input parameters at the login interface. In accordance with the advice given, I made the following modifications: Modify the password control to a TextBox control. Use JS to replace the input content. and input the results into the hidden control when committed to hide the value of the control.

Modifying a post-deployment update site Rescan does not resolve the issue.

Two solutions were found by Baidu, Bing and other search tools:

1. Site login using SSL method

2. Encrypt the data of the login request

Due to site requirements, and can not use SSL, so only encrypted way to solve the problem.

I used the reversible encryption Method des encryption. After the front-end encryption, the data is submitted to the server for decryption. When modified in this way, the result of updating the site and then scanning it will still not solve the problem. So I took a serious look at the record of the AppScan submission data request. The data that I submitted the request was found and not encrypted as I asked. Instead, it configures the data that AppScan logs on. This indicates that the AppScan request login will only be based on your configuration information to the landing, do not control whether your landing did other processing. Is there a problem with this? You configure the AppScan when you need to configure the site login information, but he decrypted the data submitted by the original is you configured. This is the configuration data, why did you say you decrypted it? Here I have questioned the AppScan scanning (AppScan in deceptive, you have to use SSL access to the site landing!! )。

Because the site can not use the SSL method, so I find colleagues to discuss. Get another solution: Login submit data using the hidden control (including login user and password), before the submission of the original login user, password entry box to empty the contents. Background judgment if the contents of the input box indicates that "Login operation Error!" ”。 This configuration after re-scanning, the problem is resolved, but there is a problem appscan can no longer log on the system (scanning is prompted not to log in properly, please make sure the login configuration is correct).  

DES encryption and decryption (JS and C # package) can refer to: http://www.cnblogs.com/luowanli/archive/2013/03/08/DES-Base64%E5%8A%A0%E5%AF%86%E8%A7%A3% E5%af%86.html


IBM Scan Tool AppScan Vulnerability "decrypted login request" fix solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.