Business information leak - Repository

Business information leak - Repository

Description

JFrog Artifactory repositories are accessed, with credentials stored in the source code.

Impact

Access the repository with credentials obtained in the source code.

Recommendation

Establish the necessary controls to ensure that the information is accessible only to the indicated persons.

Threat

Internal attacker with access to source code.

Expected Remediation Time

⌚ 30 minutes.

Score

Default score using CVSS 3.1. It may change depending on the context of the src.

Base

  • Attack vector: A
  • Attack complexity: L
  • Privileges required: L
  • User interaction: N
  • Scope: C
  • Confidentiality: H
  • Integrity: L
  • Availability: N

Temporal

  • Exploit code maturity: X
  • Remediation level: W
  • Report confidence: X

Result

  • Vector string: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N/E:X/RL:W/RC:X
  • Score:
    • Base: 7.6
    • Temporal: 7.4
  • Severity:
    • Base: High
    • Temporal: High

Score 4.0

Default score using CVSS 4.0. It may change depending on the context of the src.

Base 4.0

  • Attack vector: A
  • Attack complexity: L
  • Attack Requirements: N
  • Privileges required: L
  • User interaction: N
  • Confidentiality (VC): H
  • Integrity (VI): L
  • Availability (VA): N
  • Confidentiality (SC): L
  • Integrity (SI): L
  • Availability (SA): L

Threat 4.0

  • Exploit maturity: X

Result 4.0

  • Vector string: CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:L/SI:L/SA:L/E:X
  • Score:
    • CVSS-BT: 7.0
  • Severity:
    • CVSS-BT: High

Compliant code

The sensitive credentials are stored as encrypted secrets

                jfrog.accesskey   = ${access_key}
artifact.password = ENC(something-base64-encoded-but-encrypted)

            

Non compliant code

The JFrog credential are stored directly in the source code

                jfrog.accesskey   = "AKIA0000000000000000"
artifact.password = "123"

            

Requirements

Fixes

Free trial message
Free trial
Search for vulnerabilities in your apps for free with Fluid Attacks' automated security testing! Start your 21-day free trial and discover the benefits of the Continuous Hacking Essential plan. If you prefer the Advanced plan, which includes the expertise of Fluid Attacks' hacking team, fill out this contact form.