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

⌚ 60 minutes.

Score

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

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

Code Examples

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