Skip to main content

Insecure service configuration - CloudDB


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


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


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


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

Expected Remediation Time

⌚ minutes.


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


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


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


  • 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

Compliant code

The search cloud service is restricted based on certain parameters

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

Non compliant code

The search cloud service is not securely restricted

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



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.