Skip to main content

Improper authentication for shared folders

Description

The folders that are shared over the network do not require any authentication to be accessed.

Impact

Access to sensitive information stored in folders.

Recommendation

Limit the access to shared folders only to authorized users with their credentials.

Threat

Anonymous attacker from local network.

Expected Remediation Time

⌚ 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: U
  • Confidentiality: H
  • Integrity: N
  • Availability: N

Temporal

  • Exploit code madurity: H
  • Remediation level: U
  • Report confidence: C

Result

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

Compliant code

acl "https-<instance>";
authenticate (user,group) {
database = "default";
method = "basic";
};
deny absolute (all) user != "UserA";

Non compliant code

A shared folder that does not require authentication credentials

acl "https-<instance>";
authenticate (user,group) {
database = "default";
method = "basic";
};
allow (all)

Requirements

Fixes

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.