Please treat error conditions with a generic error message that does not provide information about the application or its users

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Administration
    • None
    • 1
    • 1

      General Description Error messages reveal too much information about the application and/or its users. Information such as user IDs and application architecture or infrastructure may be displayed. Some potential methods for causing unhandled exception to test for this are: * Remove parameter * Set parameter value to various hazardous characters * Set empty parameter value * Set parameter value to Null * Append a character string to numeric value * Set parameter value to a numeric overflow.

      Issue one: The application systemically discloses verbose error messages when an equal sign is placed in front of any JSON request.
      Steps to replicate: 1) Login with any role. 2) Navigate to any page that is not your profile page. 3) With an intercept proxy, intercept the request when clicking your profile page link in the top right. This request will be to: https://bitbucket:8443/bitbucket/rest/analytics/1.0/publish/bulk 4) Place an equal sign before the JSON in the body of the request. 5) This will prompt an error that discloses sensitive information.

      Issue two: The application disclosed via error message an internal IP address being used.
      Steps to replicate: 1) With an intercept proxy, change the User-Agent header to a not real user agent and submit a request to: https://bitbucket:8443/bitbucket/scm/ 2) View the IP address in the response. The impact is low because sensitive information becomes exposed that an attacker would otherwise not know. The likelihood is low because an additional vulnerability would need to exist / be able to be found as a result of the error message.

              Assignee:
              Unassigned
              Reporter:
              Andre Marques (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: