Skip to main content

Non-encrypted confidential information - JFROG

Description

Confidential information is stored in plain text allowing an attacker to view it without any encryption.

Impact

  • Obtain confidential JFrog user information.
  • Create, edit and delete JFrog user information.

Recommendation

Encrypt all sensitive information that is transported or stored within the application according to the organizations policies.

Threat

External 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 vulnerability.

Base

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

Temporal

  • Exploit code madurity: X
  • Remediation level: X
  • Report confidence: X

Result

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

Code Examples

Compliant code

Sensitive services are correctly configured to use secure encryption algorithms for the credentials

//JFrog Docker Repository
localRepositories:
docker-local:
type: docker
security:
passwordSettings:
encryptionPolicy: REQUIRED | SUPPORTED | UNSUPPORTED
expirationPolicy:
enabled: false
passwordMaxAge: 60
notifyByEmail: true

Non compliant code

Password are stored in plain text in the source code

//JFrog Docker Repository
localRepositories:
docker-local:
type: docker
password: "12234"

Requirements