Skip to main content

Non-encrypted confidential information - Hexadecimal

Description

The confidential information is encoded in hexadecimal allowing an attacker to view it in plain text when decoding it.

Impact

Obtain confidential information by decoding hexadecimal.

Recommendation

Use secure encryption methods to encrypt any sensitive information.

Threat

An attacker from an adjacent network performing a sniffing attack.

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: A
  • Attack complexity: H
  • Privileges required: N
  • User interaction: R
  • Scope: U
  • Confidentiality: L
  • Integrity: N
  • Availability: N

Temporal

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

Result

  • Vector string: CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N/E:U/RL:X/RC:X
  • Score:
    • Base: 2.6
    • Temporal: 2.4
  • Severity:
    • Base: Low
    • Temporal: Low

Code Examples

Compliant code

All resources use secure encryption algorithms

Resources:
EncryptedS3Bucket:
Type: AWS::S3::Bucket
Properties:
BucketName: SKIMS-ENCRYPTED-EXAMPLE-BUCKET
BucketEncryption:
ServerSideEncryptionConfiguration:
- ServerSideEncryptionByDefault:
SSEAlgorithm: aws:kms
KMSMasterKeyID: KMS-KEY-ARN
DeletionPolicy: Delete

Non compliant code

The resource uses insecure encryption algorithms

Resources:
EncryptedS3Bucket:
Type: AWS::S3::Bucket
Properties:
BucketName: SKIMS-ENCRYPTED-EXAMPLE-BUCKET
BucketEncryption:
ServerSideEncryptionConfiguration:
- Encryption: Hexadecimal
DeletionPolicy: Delete

Requirements

free trial

Search for vulnerabilities in your apps for free with our automated security testing! Start your 21-day free trial and discover the benefits of our Continuous Hacking Machine Plan. If you prefer a full service that includes the expertise of our ethical hackers, don't hesitate to contact us for our Continuous Hacking Squad Plan.