0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
Symantec Web Gateway 5.2.1 OS Command Injection Vilnerability
Author
Risk
[
Security Risk Critical
]0day-ID
Category
Date add
CVE
Platform
------------------------------------------------------------------------------ Symantec Web Gateway <= 5.2.1 (restore.php) OS Command Injection Vulnerability ------------------------------------------------------------------------------ [-] Software Link: http://www.symantec.com/web-gateway/ [-] Affected Versions: Version 5.2.1 and prior versions. [-] Vulnerability Description: The vulnerable code is located in the /spywall/restore.php script: 79. $temp_file_name = trim($restore_file["tmp_name"]); 80. $upload_orig_name = basename($restore_file['name']); 81. //do this in case user change .des3 extnsion to .bak which is idential to backup file ... 82. $temp_orig_name = str_replace(".bak", ".des3",$upload_orig_name); 83. 84. $filePath = "/tmp/$temp_orig_name"; 85. 86. syscall ("sudo rm -f $filePath"); //make sure this file not exists. User input passed via the filename of uploaded files is not properly sanitised before being used in a call to the "syscall()" function at line 86. This can be exploited to inject and execute arbitrary OS commands with the privileges of the "root" user on the appliance. NOTE: version 5.1.1 suffers from an access restriction issue as well, meaning that the vulnerability can be exploited by any kind of user (even the ones with the lowest access privileges). In version 5.2.1 the vulnerability has been fixed and proper authorization checks are in place, however the vulnerability has been reintroduced in a different line of code and can be exploited only by administrator users. [-] Solution: Update to version 5.2.2. [-] Disclosure Timeline: [08/10/2014] - Vendor notified with vulnerability details [05/11/2014] - Vendor reply this will be fixed in the next release [16/12/2014] - Version 5.2.2 released [16/12/2014] - Vendor publishes security bulletin [31/12/2014] - Publication of this advisory [-] CVE Reference: The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CVE-2014-7285 to this vulnerability. [-] Credits: Vulnerability discovered by Egidio Romano, Secunia Research. # 0day.today [2024-12-24] #