ID CVE-2007-5200
Summary hugin, as used on various operating systems including SUSE openSUSE 10.2 and 10.3, allows local users to overwrite arbitrary files via a symlink attack on the hugin_debug_optim_results.txt temporary file.
References
Vulnerable Configurations
  • OpenSUSE 10.2
    cpe:2.3:o:opensuse:opensuse:10.2
  • OpenSUSE 10.3
    cpe:2.3:o:opensuse:opensuse:10.3
CVSS
Base: 3.3 (as of 15-10-2007 - 18:41)
Impact:
Exploitability:
CWE CWE-59
CAPEC
  • Symlink Attack
    An attacker positions a symbolic link in such a manner that the targeted user or application accesses the link's endpoint, assuming that it is accessing a file with the link's name. The endpoint file may be either output or input. If the file is output, the result is that the endpoint is modified, instead of a file at the intended location. Modifications to the endpoint file may include appending, overwriting, corrupting, changing permissions, or other modifications. In some variants of this attack the attacker may be able to control the change to a file while in other cases they cannot. The former is especially damaging since the attacker may be able to grant themselves increased privileges or insert false information, but the latter can also be damaging as it can expose sensitive information or corrupt or destroy vital system or application files. Alternatively, the endpoint file may serve as input to the targeted application. This can be used to feed malformed input into the target or to cause the target to process different information, possibly allowing the attacker to control the actions of the target or to cause the target to expose information to the attacker. Moreover, the actions taken on the endpoint file are undertaken with the permissions of the targeted user or application, which may exceed the permissions that the attacker would normally have.
  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
Access
VectorComplexityAuthentication
LOCAL MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
NONE PARTIAL PARTIAL
nessus via4
  • NASL family SuSE Local Security Checks
    NASL id SUSE_HUGIN-4518.NASL
    description This update of hugin disabled the usage of a temporary file. (CVE-2007-5200)
    last seen 2018-09-01
    modified 2014-06-13
    plugin id 27268
    published 2007-10-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=27268
    title openSUSE 10 Security Update : hugin (hugin-4518)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2007-2807.NASL
    description - Mon Nov 5 2007 Bruno Postle 0.6.1-11 - fix for CVE-2007-5200 hugin unsafe temporary file usage - bug #332401; bug #362851; bug #362861; bug #362871 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-21
    plugin id 27807
    published 2007-11-07
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=27807
    title Fedora 8 : hugin-0.6.1-11.fc8 (2007-2807)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-200712-01.NASL
    description The remote host is affected by the vulnerability described in GLSA-200712-01 (Hugin: Insecure temporary file creation) Suse Linux reported that Hugin creates the 'hugin_debug_optim_results.txt' temporary file in an insecure manner. Impact : A local attacker could exploit this vulnerability with a symlink attack, potentially overwriting an arbitrary file with the privileges of the user running the application. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2018-08-10
    plugin id 29231
    published 2007-12-07
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=29231
    title GLSA-200712-01 : Hugin: Insecure temporary file creation
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2007-2989.NASL
    description - Mon Nov 5 2007 Bruno Postle 0.6.1-11 - fix for CVE-2007-5200 hugin unsafe temporary file usage - bug #332401; bug #362851; bug #362861; bug #362871 - fix Source tag - update license GPL -> GPLv2+ - Mon Aug 13 2007 Bruno Postle 0.6.1-7 - rebuild for boost soname change - add enblend dependency as enblend is now in fedora Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-21
    plugin id 28154
    published 2007-11-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=28154
    title Fedora 7 : hugin-0.6.1-11.fc7 (2007-2989)
refmap via4
bid 26730
confirm
fedora FEDORA-2007-2989
gentoo GLSA-200712-01
osvdb 42224
secunia
  • 27229
  • 27623
  • 27653
  • 27952
suse SUSE-SR:2007:020
Last major update 15-11-2008 - 00:00
Published 14-10-2007 - 14:17
Last modified 30-10-2018 - 12:27
Back to Top