# Exploit Title: ezportal Advisory ( Portal Mod for SMF ) Local SQL injection
# Google Dork: inurl:index.php?action=ezportal
# Date: 2025-05-08
# Exploit Author: Emiliano Febbi
# Vendor Homepage: https://www.ezportal.com/
# Software Link: https://custom.simplemachines.org/index.php?mod=1461
# Version: v5.6 (latest version)
# Tested on: Windows 10
###############
# Explication:#
###############
ezportal is a portal mod for Simple Machine Forum, if you have it installed this flaw in it presents a database error,
personally tested on the v5.6 version of the portal.
Probably also present on previous ezportal versions.
###############
# Procedure: #
###############
The bug is present once logged in as administrator, and occurs when editing blocks located in the portal index.
the error generated is the classic database error, exploitable with SQL injection.
################
# Execution: #
################
This is the bugged Query:
***************************************************
* index.php?action=ezportal;sa=editblock;block=-1 *
***************************************************
<-- You can execute this after admin login. I don't know if it can be exploited, but it's still a flaw. -->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