Back to CVE catalog
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 and affected versions
Vendor:redhatfence-sanlock
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for fence-sanlock
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatsanlock
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for sanlock
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatsanlock-devel
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for sanlock-devel
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatsanlock-lib
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for sanlock-lib
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatsanlock-python
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for sanlock-python
  • Other versions are affected by default; consult the source for exceptions.
Vendor:Debianlibsanlock-client1
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2.2-2
Vendor:Debianlibsanlock-dev
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2.2-2
Vendor:Debiansanlock
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2.2-2
Vendor:Red HatRHEV Agents (vdsm)Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux 6Affected 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:P
redhat · 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:P
nvd · 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:P
Red 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:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories9

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