Security Resilience

CVE-2025-2652

Info Disclosure in Oretnom23 Employee And Visitor Gate Pass Logging System 1.0

Public PoCInfo Disclosure
Published
23 March 2025
Modified
26 March 2025
Patch / advisory
CVSS Score v4 6.9
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0070 53th percentile
Risk Priority 42 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-2652 is a medium-severity Exposure of Information Through Directory Listing (CWE-548) vulnerability in Oretnom23 Employee And Visitor Gate Pass Logging System. Its CVSS base score is 6.9 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Data from Cloud Storage (T1530); ranked in the top 47% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-6 (Least Privilege) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2025-2652 is a vulnerability in SourceCodester Employee and Visitor Gate Pass Logging System 1.0, classified as problematic due to exposure of information through directory listing. It affects an unknown functionality across multiple sub-directories, enabling remote attackers to access sensitive directory contents without authentication.

The vulnerability can be exploited remotely by unauthenticated attackers with low complexity and no user interaction required, as indicated by its CVSS v3.1 base score of 5.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N). Successful exploitation allows attackers to view directory listings, potentially disclosing file names, paths, or other configuration details that could aid further reconnaissance or attacks.

Advisories recommend changing configuration settings to mitigate the issue, such as disabling directory listing on affected web servers. The exploit has been publicly disclosed, with details available on platforms like GitHub and VulDB, increasing the risk of widespread use.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

A vulnerability has been found in SourceCodester Employee and Visitor Gate Pass Logging System 1.0 and classified as problematic. Affected by this vulnerability is an unknown functionality. The manipulation leads to exposure of information through directory listing. The attack can…

more

be launched remotely. The exploit has been disclosed to the public and may be used. It is recommended to change the configuration settings. Multiple sub-directories are affected.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1530 Data from Cloud Storage Collection
Adversaries may access data from cloud storage.
T1552.006 Group Policy Preferences Credential Access
Adversaries may attempt to find unsecured credentials in Group Policy Preferences (GPP).
T1005 Data from Local System Collection
Adversaries may search local system sources, such as file systems, configuration files, local databases, virtual machine files, or process memory, to find files of interest and sensitive data prior to Exfiltration.
T1119 Automated Collection Collection
Once established within a system or network, an adversary may use automated techniques for collecting internal data.
T1213 Data from Information Repositories Collection
Adversaries may leverage information repositories to mine valuable information.
T1552.001 Credentials In Files Credential Access
Adversaries may search local file systems and remote file shares for files containing insecurely stored credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-5896Same product: Oretnom23 Employee And Visitor Gate Pass Logging System
CVE-2024-6967Same product: Oretnom23 Employee And Visitor Gate Pass Logging System
CVE-2024-5976Same product: Oretnom23 Employee And Visitor Gate Pass Logging System
CVE-2023-31752Same product: Oretnom23 Employee And Visitor Gate Pass Logging System
CVE-2024-6736Same product: Oretnom23 Employee And Visitor Gate Pass Logging System
CVE-2024-7069Same product: Oretnom23 Employee And Visitor Gate Pass Logging System
CVE-2023-2090Same product: Oretnom23 Employee And Visitor Gate Pass Logging System
CVE-2024-5895Same product: Oretnom23 Employee And Visitor Gate Pass Logging System
CVE-2024-9315Same product: Oretnom23 Employee And Visitor Gate Pass Logging System
CVE-2024-6649Same product: Oretnom23 Employee And Visitor Gate Pass Logging System

Affected Assets

oretnom23
employee and visitor gate pass logging system
1.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 5 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V8.4.2

Mitigating Controls (NIST 800-53 r5) AI

AC-3 directly enforces authorization checks on access to files and directories, stopping unauthorized external exposure.

AC-6 limits granted privileges, reducing the chance that files or directories become reachable by external parties.

Requires secure baseline settings that disable directory listing on servers and file shares.

Restricts unnecessary server features such as automatic directory indexing.

Controls information flows so directory contents are not disclosed to unauthorized recipients.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.AA-05 mostly match
blocks

Enforcing least-privilege permissions and authorization policies directly prevents unauthorized file/directory exposure.

PR.IR-01 mostly match
blocks

Logical segmentation and access protections stop external parties from reaching files that should remain internal.

PR.PS-01 mostly match
blocks

Hardened baselines and config management directly disable directory listing by default.

ID.AM-08 partial match
blocks

Lifecycle management includes applying secure configurations that would prevent directory exposure.

ID.RA-01 partial match
blocks

Vulnerability scanning can discover exposed directories so they can be remediated.

PR.DS-01 partial match
blocks

Data-at-rest protections such as encryption or ACLs reduce the impact of unintended file exposure.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

removes
finds

Security testing in development and acceptance can detect and require remediation of exposed directory listings.

blocks

A.8.3's core (restricting access per policies via config, per-user/group rights, isolation, dynamic techniques, auth requirements, time-bound restrictions, encryption) directly stops exploitation of exposed directory listings by enforcing authorization on the directory and its contents; the bounded remainder is listings that surface non-sensitive or non-access-controlled resources (e.g. purely public static files with no sensitive exposure).

prevents

Secure coding practices ensure developers do not leave directory listing enabled on production web servers.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (higher-evidence rows only; rows rated `none` are excluded).

Oracle Linux 8 (2 rules)
  • V-248579 OL 8 must restrict access to the kernel message buffer. blocks CWE-552
  • V-248597 There must be no "shosts.equiv" files on the OL 8 operating system. blocks CWE-552

References