'; } else{ echo ''; } echo 'Hillstone Networks'; } elseif ($_SERVER[HTTP_HOST] == "update1.huaantech.com.cn") { echo ''; echo 'huaantech'; } elseif ($_SERVER[HTTP_HOST] == "update1.dcnetworks.com.cn") { echo ''; echo 'dcnetworks'; } elseif ($_SERVER[HTTP_HOST] == "update1.w-ibeda.com") { if (false===strpos($_SERVER[REQUEST_URI],"/en/")) echo ''; else echo ''; echo 'w-ibeda'; } elseif ($_SERVER[HTTP_HOST] == "update1.hp-telecom.com") { echo ''; echo 'hp-telecom'; } elseif ($_SERVER[HTTP_HOST] == "update1.maipu.com") { echo ''; echo 'Maipu'; } elseif ($_SERVER[HTTP_HOST] == "update1.ncurity.com") { echo ''; echo 'Ncurity'; } elseif ($_SERVER[HTTP_HOST] == "update1.socusnetwork.com") { echo ''; echo 'Socusnetwork'; } else{ echo ''; echo 'Hillstone Networks'; } ?>
 
   
 

vul_other:web_cgi_httpoxy(Rule ID:1070310001)

Release Date2025/9/15

Rule NameCVE-2016-5385: PHP HTTP_PROXY Enviroment Variables Vulnerability

Severity:mid

CVE IDCVE-2016-5385

 

Descripiton

PHP(Hypertext Preprocessor) is a kind of widely used open source languages. PHP is mainly used for Web development because of easily being embedded into HTML. Because of namespace conflicts in PHP(version < 7.0.8), client inputs are failed to filtered by HTTP_PROXY. Remote attackers may redirect HTTP streams to any proxy server by constructing Proxy header in HTTP request, leading to HTTPOXY attack. See more at https://httpoxy.org/. This rule supports to defend the A6: Vulnerable and Outdated Components of OWASP Top 10 - 2021.
Other reference:None

 

Solution

Update vendor patches.