CVE-2018-25094 in Online Accounting Systeminfo

Summary

by MITRE • 12/03/2023

A vulnerability was found in ระบบบัญชีออนไลน์ Online Accounting System up to 1.4.0 and classified as problematic. This issue affects some unknown processing of the file ckeditor/filemanager/browser/default/image.php. The manipulation of the argument fid with the input ../../../etc/passwd leads to path traversal: '../filedir'. The exploit has been disclosed to the public and may be used. Upgrading to version 2.0.0 is able to address this issue. The identifier of the patch is 9d9618422b980335bb30be612ea90f4f56cb992c. It is recommended to upgrade the affected component. The identifier VDB-246641 was assigned to this vulnerability.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 12/22/2023

This vulnerability exists in the Thai Online Accounting System up to version 1.4.0 and represents a critical path traversal flaw that allows attackers to access arbitrary files on the server. The vulnerability specifically affects the ckeditor/filemanager/browser/default/image.php component where the fid parameter is improperly validated, enabling malicious users to manipulate file paths through directory traversal sequences. The exploit demonstrates the classic path traversal technique where input containing ../../../etc/passwd can be used to navigate to sensitive system files, potentially exposing system credentials and configuration data.

The technical implementation of this vulnerability falls under CWE-22 which defines path traversal or directory traversal vulnerabilities that occur when applications fail to properly validate file paths, allowing attackers to access files outside of intended directories. The flaw operates at the application layer where user input directly influences file system operations without adequate sanitization or validation mechanisms. When the fid parameter receives malicious input containing directory traversal sequences, the application processes these paths without proper boundary checks, leading to unauthorized file access.

The operational impact of this vulnerability is severe as it provides attackers with the ability to read sensitive system files including but not limited to password files, configuration databases, and application source code. This exposure can lead to complete system compromise, credential theft, and potential lateral movement within network environments. The vulnerability's public disclosure status significantly increases the risk as threat actors can readily implement the exploit without requiring advanced technical knowledge. The path traversal attack vector allows for both information disclosure and potentially remote code execution depending on the system configuration and file permissions.

The recommended mitigation strategy involves upgrading to version 2.0.0 which contains the necessary patch addressing the directory traversal vulnerability. The specific patch identifier 9d9618422b980335bb30be612ea90f4f56cb992c should be applied to ensure proper validation of file paths and removal of the vulnerable fid parameter handling. Organizations should also implement additional security measures including input validation, proper file access controls, and regular security assessments to prevent similar vulnerabilities. The ATT&CK framework categorizes this as a privilege escalation technique through path traversal, where adversaries exploit weak input validation to gain unauthorized access to system resources. Security teams should also consider implementing web application firewalls and monitoring for suspicious file access patterns that could indicate exploitation attempts.

Responsible

VulDB

Reservation

12/02/2023

Disclosure

12/03/2023

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00761

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!