Lucene search
K

OpenX 2.8.10 Open Redirect

🗓️ 16 Oct 2014 00:00:00Reported by Jing WangType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 86 Views

OpenX 2.8.10 Open Redirect Vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
Tenable Nessus
OpenX < 2.8.11 Redirect Vulnerability
16 Oct 201400:00
nessus
CVE
CVE-2014-2230
23 Oct 201414:00
cve
Cvelist
CVE-2014-2230
23 Oct 201414:00
cvelist
EUVD
EUVD-2014-2270
7 Oct 202500:30
euvd
NVD
CVE-2014-2230
23 Oct 201414:55
nvd
OpenVAS
OpenX Multiple Open Redirect Vulnerabilities
5 Nov 201400:00
openvas
Prion
Open redirect
23 Oct 201414:55
prion
`Exploit Title: OpenX Open Redirect Vulnerability  
Product: OpenX  
Vendor: OpenX  
Vulnerable Versions: 2.8.10 and probably prior  
Tested Version: 2.8.10  
Advisory Publication: OCT 8, 2014  
Latest Update: OCT 8, 2014  
Vulnerability Type: Open Redirect [CWE-601]  
CVE Reference: CVE-2014-2230  
Risk Level: Low  
CVSSv2 Base Score: 2.6 (AV:N/AC:H/Au:N/C:N/I:P/A:N)  
Solution Status: Solution Available  
Credit: Wang Jing [Mathematics, Nanyang Technological University, Singapore]  
  
  
  
  
  
  
  
Vulnerability Details:  
  
OpenX adclick.php, ck.php, vulnerable to Open Redirect attacks.  
  
Source code of adclick.php:  
$destination = MAX_querystringGetDestinationUrl($adId[0]);  
MAX_redirect($destination);  
  
The "MAX_redirect" function is bellow,  
function MAX_redirect($url)  
{  
if (!preg_match('/^(?:javascript|data):/i', $url)) {  
header('Location: '.$url);  
MAX_sendStatusCode(302);  
}  
  
The header() function sends a raw HTTP header to a client without any  
checking of the "$dest" parameter at all.  
  
  
(1) For "adclick.php", the vulnerability occurs with "&dest" parameter.  
  
  
(2) For "ck.php", it uses "adclick.php" file. the vulnerability occurs with  
"_maxdest" parameter.  
  
  
  
  
  
  
  
  
Solutions:  
2014-10-12 Public disclosure with self-written patch.  
  
  
References:  
https://github.com/kriwil/OpenX/blob/master/www/index.php  
http://www.tetraph.com/blog/cves/cve-2014-2230-openx-open-redirect-vulnerability/  
http://www.openx.com  
http://cwe.mitre.org  
http://cve.mitre.org/  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation