HAMweather template.php code execution

hamweather-template-code-execution (29304) The risk level is classified as MediumMedium Risk

Description:

HAMweather could allow a remote attacker to execute arbitrary code caused by a vulnerability in the eval function calls. A remote attacker could send a specially-crafted request to the template.php script in the do_parse_code() function to inject a malicious code file from a remote system, which could allow the attacker to execute arbitrary code on the vulnerable Web server.

Platforms Affected:

  • HAMweather, HAMweather prior to 3.9.8.4

Remedy:

Upgrade to the latest version of HAMweather (version 3.9.8.4 or later), available from the HAMweather Web site. See References.

Consequences:

Gain Access

References:

  • GulTech Research And Development September 30, 2006, HAMweather Remote Code Execution at http://www.gulftech.org/?node=research&article_id=00115-09302006.
  • HAMweather Web site, HAMweather at http://www.hamweather.com/.
  • BID-20311: HAMweather Template.PHP Script Code Injection Vulnerability
  • CVE-2006-5185: Eval injection vulnerability in Template.php in HAMweather 3.9.8.4 and earlier allows remote attackers to execute arbitrary code via a modified query string, which is supplied to an eval function call within the do_parse_code function.
  • FrSIRT/ADV-2006-3881: HAMweather do_parse_code() Function Remote Command Injection Vulnerability
  • SA22242: HAMweather "do_parse_code" Command Injection Vulnerability

Reported:

Sep 30, 2006

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page