IPCop Backup File Replacement Race Condition Vulnerability
BID:15378
Info
IPCop Backup File Replacement Race Condition Vulnerability
| Bugtraq ID: | 15378 |
| Class: | Design Error |
| CVE: | |
| Remote: | No |
| Local: | Yes |
| Published: | Nov 10 2005 12:00AM |
| Updated: | Nov 10 2005 12:00AM |
| Credit: | Juergen Schmidt is credited with the discovery of this vulnerability. |
| Vulnerable: |
IPCop IPCop 1.4.9 IPCop IPCop 1.4.8 IPCop IPCop 1.4.6 IPCop IPCop 1.4.5 IPCop IPCop 1.4.4 IPCop IPCop 1.4.2 IPCop IPCop 1.4.1 |
| Not Vulnerable: |
IPCop IPCop 1.4.10 |
Discussion
IPCop Backup File Replacement Race Condition Vulnerability
IPCop is prone to a race condition that could permit the replacement of a backup file. This issue is due to the application changing the ownership on the file before it in encrypts it.
A local attacker must have access to the 'nobody' user account, either through legitimate means, or through some other latent vulnerability to exploit this issue.
Successful exploitation will replace the backup file with arbitrary attacker-supplied data. If the backup file is restored, system information may be overwritten with arbitrary data using superuser privileges.
IPCop is prone to a race condition that could permit the replacement of a backup file. This issue is due to the application changing the ownership on the file before it in encrypts it.
A local attacker must have access to the 'nobody' user account, either through legitimate means, or through some other latent vulnerability to exploit this issue.
Successful exploitation will replace the backup file with arbitrary attacker-supplied data. If the backup file is restored, system information may be overwritten with arbitrary data using superuser privileges.
Exploit / POC
IPCop Backup File Replacement Race Condition Vulnerability
No exploit is required.
No exploit is required.
Solution / Fix
IPCop Backup File Replacement Race Condition Vulnerability
Solution:
The vendor has addressed this issue in IPCop version 1.4.10 and later:
IPCop IPCop 1.4.1
IPCop IPCop 1.4.2
IPCop IPCop 1.4.4
IPCop IPCop 1.4.5
IPCop IPCop 1.4.6
IPCop IPCop 1.4.8
IPCop IPCop 1.4.9
Solution:
The vendor has addressed this issue in IPCop version 1.4.10 and later:
IPCop IPCop 1.4.1
-
IPCop ipcop-sources-1.4.10.tgz
http://prdownloads.sourceforge.net/ipcop/ipcop-sources-1.4.10.tgz?down load
IPCop IPCop 1.4.2
-
IPCop ipcop-sources-1.4.10.tgz
http://prdownloads.sourceforge.net/ipcop/ipcop-sources-1.4.10.tgz?down load
IPCop IPCop 1.4.4
-
IPCop ipcop-sources-1.4.10.tgz
http://prdownloads.sourceforge.net/ipcop/ipcop-sources-1.4.10.tgz?down load
IPCop IPCop 1.4.5
-
IPCop ipcop-sources-1.4.10.tgz
http://prdownloads.sourceforge.net/ipcop/ipcop-sources-1.4.10.tgz?down load
IPCop IPCop 1.4.6
-
IPCop ipcop-sources-1.4.10.tgz
http://prdownloads.sourceforge.net/ipcop/ipcop-sources-1.4.10.tgz?down load
IPCop IPCop 1.4.8
-
IPCop ipcop-sources-1.4.10.tgz
http://prdownloads.sourceforge.net/ipcop/ipcop-sources-1.4.10.tgz?down load
IPCop IPCop 1.4.9
-
IPCop ipcop-sources-1.4.10.tgz
http://prdownloads.sourceforge.net/ipcop/ipcop-sources-1.4.10.tgz?down load
References
IPCop Backup File Replacement Race Condition Vulnerability
References:
References:
- IPCop 1.4.10 Release Notes (IPCop)
- IPCop Home Page (IPCop)