CVE-2012-5638
SANLock log file permissions allow local overwrite and quota bypass
Multiple products
At a glance
The setup_logging function in log.h in SANLock uses world-writable permissions for /var/log/sanlock.log, which allows local users to overwrite the file content or bypass intended disk-quota restrictions via standard filesystem write operations.
Source description · CVE List / CNA
System impact
Attack complexityLow
ConfidentialityNone
IntegrityPartial
AvailabilityPartial
CVSS summary v2.0
3.6Low
- Published:
- Updated:
- EPSS:
- 0.335%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Local
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:redhat | fence-sanlockEnvironments (1)
| Affected versions:Range not specifiedShow full version range for fence-sanlock
|
| Vendor:redhat | sanlockEnvironments (1)
| Affected versions:Range not specifiedShow full version range for sanlock
|
| Vendor:redhat | sanlock-develEnvironments (1)
| Affected versions:Range not specifiedShow full version range for sanlock-devel
|
| Vendor:redhat | sanlock-libEnvironments (1)
| Affected versions:Range not specifiedShow full version range for sanlock-lib
|
| Vendor:redhat | sanlock-pythonEnvironments (1)
| Affected versions:Range not specifiedShow full version range for sanlock-python
|
| Vendor:Debian | libsanlock-client1Environments (4)
| Affected versions: < 2.2-2 |
| Vendor:Debian | libsanlock-devEnvironments (4)
| Affected versions: < 2.2-2 |
| Vendor:Debian | sanlockEnvironments (4)
| Affected versions: < 2.2-2 |
| Vendor:Red Hat | RHEV Agents (vdsm) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux 6 | Affected versions:Source does not specify a version range |
1–10 of 15 · Page 1 of 2
CVSS scores and metrics4
[email protected] · NVD (Primary)Primary3.6 / 10LowCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:L/Au:N/C:N/I:P/A:Predhat · Wazuh CTI (adp)2.1 / 10LowCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:L/Au:N/C:N/I:N/A:Pnvd · Wazuh CTI (cna)3.6 / 10LowCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:L/Au:N/C:N/I:P/A:PRed Hat · Red Hat VEX (adp)2.1 / 10LowCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Local
- Authentication
- Not required
Source vector
AV:L/AC:L/Au:N/C:N/I:N/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences