CVE-2017-16780

CRITICAL

MyBB < 1.8.12 - Remote Code Execution via Installer Configuration File Write

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2017-16780. PoCs published by Pabstersac.

AI-analyzed exploit summary This exploit leverages a CSRF vulnerability in MyBB's installer to inject arbitrary PHP code into the /inc/config.php file by manipulating the SQLite database path parameter. The lack of input sanitization allows for remote code execution when an admin visits a crafted page.

Description

The installer in MyBB before 1.8.13 allows remote attackers to execute arbitrary code by writing to the configuration file.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Pabstersac · textwebappsphp
https://www.exploit-db.com/exploits/43136

This exploit leverages a CSRF vulnerability in MyBB's installer to inject arbitrary PHP code into the /inc/config.php file by manipulating the SQLite database path parameter. The lack of input sanitization allows for remote code execution when an admin visits a crafted page.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: MyBB up to 1.8.13
No auth needed
Prerequisites: Access to the installer directory or ability to trick an admin into visiting a malicious page
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (2)

Core 2
Core References
Exploit, Third Party Advisory, VDB Entry exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/43136/

Scores

CVSS v3 9.8
EPSS 0.0577
EPSS Percentile 92.1%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-352
Status published
Products (1)
mybb/mybb < 1.8.12
Published Nov 10, 2017
Tracked Since Feb 18, 2026