HAMweather 3.9.8.3/3.9.8.4 Weather template.php eval memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in HAMweather 3.9.8.3/3.9.8.4. The impacted element is the function eval of the file template.php of the component Weather. Executing a manipulation can lead to memory corruption.
The identification of this vulnerability is CVE-2006-5185. There is no exploit available.
The affected component should be upgraded.
Details
A vulnerability classified as critical was found in HAMweather 3.9.8.3/3.9.8.4. This vulnerability affects the function eval of the file template.php of the component Weather. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
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.
The bug was discovered 09/30/2006. The weakness was shared 10/10/2006 by James Bercegay with Gulftech (Website). The advisory is shared for download at xforce.iss.net. This vulnerability was named CVE-2006-5185 since 10/06/2006. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available.
It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 4 days. During that time the estimated underground price was around $0-$5k. By approaching the search of inurl:template.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 22497 (HAMweather Template.php do_parse_code Function Arbitrary Code Execution), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses and running in the context r.
Upgrading eliminates this vulnerability.
The vulnerability is also documented in the databases at X-Force (29304), Tenable (22497), SecurityFocus (BID 20311†), OSVDB (29464†) and Secunia (SA22242†). Once again VulDB remains the best source for vulnerability data.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Proof-of-Concept
Google Hack: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 22497
Nessus Name: HAMweather Template.php do_parse_code Function Arbitrary Code Execution
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Timeline
09/30/2006 🔍09/30/2006 🔍
10/03/2006 🔍
10/04/2006 🔍
10/06/2006 🔍
10/09/2006 🔍
10/10/2006 🔍
10/10/2006 🔍
03/12/2015 🔍
04/23/2026 🔍
Sources
Advisory: xforce.iss.netResearcher: James Bercegay
Organization: Gulftech
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2006-5185 (🔍)
GCVE (CVE): GCVE-0-2006-5185
GCVE (VulDB): GCVE-100-32644
X-Force: 29304
SecurityFocus: 20311 - HAMweather Template.PHP Script Code Injection Vulnerability
Secunia: 22242
OSVDB: 29464 - HAMweather - Template.PHP - Script Code Injection Issue
Vulnerability Center: 12861 - HAMweather Remote Code Execution Vulnerability in do_parse_code() Function, High
Vupen: ADV-2006-3881
Entry
Created: 03/12/2015 15:51Updated: 04/23/2026 21:02
Changes: 03/12/2015 15:51 (67), 07/09/2019 08:02 (8), 04/23/2026 21:02 (19)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.