Insecure service configuration - CloudDB

Insecure service configuration - CloudDB

Description

Sensitive information stored in the source code. It is determined that non-JSON Apache Lucene queries are enabled on the Cloudant database server.

Impact

Obtain information from the logs in the database, which in turn contain sensitive user data.

Recommendation

- Securely configure the vulnerable service so that it can only be accessed by authorized users.
- Disable queries via Query Parser.

Threat

Authorized attacker using the credentials stored in the source code from the Internet.

Expected Remediation Time

⌚ 60 minutes.

Score

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

Base

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

Temporal

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

Result

  • Vector string: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N/E:X/RL:O/RC:X
  • Score:
    • Base: 5.0
    • Temporal: 4.8
  • Severity:
    • Base: Medium
    • Temporal: Medium

Score 4.0

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

Base 4.0

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

Threat 4.0

  • Exploit maturity: X

Result 4.0

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

Compliant code

The search cloud service is restricted based on certain parameters

                "indexes": {
  "search-cloud": {
    "analyzer": "standard",
    "index": "function(doc) { index(\"keyword\", doc.name); }"
  }
}

            

Non compliant code

The search cloud service is not securely restricted

                "indexes": {
  "search-cloud": {
    "analyzer": "all",
    "index": "function: any"
  }
}

            

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.