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 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
Score 4.0
Default score using CVSS 4.0 . It may change depending on the context of the src.
Base 4.0
- Attack vector: A
- Attack complexity: L
- Attack Requirements: N
- Privileges required: L
- User interaction: N
- Confidentiality (VC): H
- Integrity (VI): N
- Availability (VA): N
- Confidentiality (SC): H
- Integrity (SI): N
- Availability (SA): N
Threat 4.0
- Exploit madurity: A
Result 4.0
- Vector string: CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:A
- Score:
- CVSS-BT: 8.2
- Severity:
- CVSS-BT: High
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
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.