Cloudanix VulnDB

CVE-2022-4206

Medium · 6.5

CVSS

6.5

EPSS

0.6%

Published

Feb 1, 2023

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A web scanning tool was accidentally saving secret login details inside its regular scan reports, letting anyone who reads those reports see and potentially misuse the secrets.

Exploit Available
Exploitation
Remote Authenticated
Attacker needs
Low Privilege
Complexity
Low
Impact
Data Exposure
Component
Application
Class
Information Disclosure
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

The DAST API scanner includes the full Authorization header value in generated vulnerability reports for all versions from 1.6.50 up to but not including 2.0.102.

Why it matters to the business

Exposed API credentials in reports can lead to unauthorized access to protected services, data exposure, and potential compliance violations if reports are viewed by unintended recipients.

How an attack unfolds

An attacker with read access to DAST vulnerability reports inspects the report contents, extracts the leaked Authorization header containing valid credentials, and reuses those credentials to authenticate to target APIs.

How to fix it

Upgrade GitLab DAST API scanner to version 2.0.102 or later; regenerate reports after upgrade and rotate any credentials that may have appeared in prior reports.

How to confirm the fix worked

Confirm scanner version is 2.0.102 or higher; inspect newly generated reports to verify Authorization headers are absent; review report templates and output sanitization settings.

Typical attack path

  1. Obtain access to DAST vulnerability reports
  2. Locate Authorization header values within the report output
  3. Replay the extracted credentials against protected API endpoints

How to detect it

Search vulnerability report files and archives for Authorization header strings; review access logs to report storage locations for unexpected viewers; check scanner output directories for legacy reports containing credential data.

  • Authorization: Bearer
  • Authorization: Basic
  • report contains "Authorization" header
  • dast-api-scanner vulnerability report

What your security team should do

  • Immediately upgrade all DAST API scanner instances to 2.0.102 or later
  • Audit historical reports for exposed credentials and rotate affected tokens
  • Restrict report access to least-privilege roles and enable logging of report views

The record

A sensitive information leak issue has been discovered in all versions of DAST API scanner from 1.6.50 prior to 2.0.102, exposing the Authorization header in the vulnerability report

Affected packages

Ecosystem Package Introduced Fixed
Ubuntu:16.04:LTS gitlab 0 No fix
Ubuntu:Pro:16.04:LTS gitlab 0 No fix

Related vulnerabilities