Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-32589

#PT22227_4 Improper Error Handling

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Security

      Description

      Tested URL : https://pentest-2023.beta.nuxeocloud.com/nuxeo/api/v1/automation/User.GetUserWorkspace,https://pentest-2023.beta.nuxeocloud.com/nuxeo/api/v1/management/pictures/recompute,https://pentest-2023.beta.nuxeocloud.com/nuxeo/api/v1/management/fulltext/extract,https://pentest-2023.beta.nuxeocloud.com/nuxeo/api/v1/automation/Auth.LoginAs

      Severity : low

      Criticality Justification
      An attacker could maliciously cause an exception that could crash the application, potentially resulting in a denial of service (DoS) or the application may throw error messages which help an attacker to craft the different attack.

      Steps To Reproduce
      Step 1: Login with a user to the platform, can be regular user or admin
      Step 2: Execute the following POST request to the endpoint /nuxeo/api/v1/automation/User.GetUserWorkspace modifying the params, sending a string.
      Similar scenarios can be seen across the app when not sending the correct body for POST requests not sending the correct header. (https://api.us.cobalt.io/v1/attachments/att_f4d3FX7/preview)

      Suggested Fix

      • Use custom error messages or generic warnings that do not disclose any information about the application or server.
      • Remove default web server pages.
      • Perform proper error handling at the code level. Refer to error handling information in the references section.
      • Avoid providing stack trace error messages.
      • Implement a proper error handling policy so that all web applications have the same standards for error handling.
      • Determine which information can be displayed to the user, and which information should be logged as a part of error handling. "

      Prerequisites
      Authenticated user required

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              santony Sooraj Antony
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: