CVE-2007-5786

GoSamba 1.0.1 - Remote Code Execution via PHP File Inclusion in include_path Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2007-5786. PoCs published by GoLd_M.

AI-analyzed exploit summary This exploit demonstrates multiple remote file inclusion vulnerabilities in GoSamba 1.0.1 by manipulating the 'include_path' parameter in various PHP scripts. The PoC provides URLs that can be used to include arbitrary remote files, potentially leading to remote code execution.

Description

Multiple PHP remote file inclusion vulnerabilities in GoSamba 1.0.1 allow remote attackers to execute arbitrary PHP code via a URL in the include_path parameter to (1) HTML_oben.php, (2) inc_freigabe.php, (3) inc_freigabe1.php, or (4) inc_freigabe3.php in include/; (5) inc_group.php; (6) inc_manager.php; (7) inc_newgroup.php; (8) inc_smb_conf.php; (9) inc_user.php; or (10) main.php.

Exploits (1)

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

This exploit demonstrates multiple remote file inclusion vulnerabilities in GoSamba 1.0.1 by manipulating the 'include_path' parameter in various PHP scripts. The PoC provides URLs that can be used to include arbitrary remote files, potentially leading to remote code execution.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: GoSamba 1.0.1
No auth needed
Prerequisites: Network access to the target application · Ability to host a malicious file on a remote server
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/4575
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/38123
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/26223
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/3646

Scores

EPSS 0.0242
EPSS Percentile 82.0%

Details

CWE
CWE-94
Status published
Products (1)
a-enterprise/gosamba 1.0.1
Published Nov 01, 2007
Tracked Since Feb 18, 2026