Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-pagenavi domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u918112125/domains/exploit.company/public_html/wp-includes/functions.php on line 6114
Cross-Site Scripting Vulnerability in phpWebThings - exploit.company
header-logo
Suggest Exploit
vendor:
phpWebThings
by:
7.5
CVSS
HIGH
Cross-Site Scripting
79
CWE
Product Name: phpWebThings
Affected Version From: 1.4.2004
Affected Version To:
Patch Exists: NO
Related CWE:
CPE:
Metasploit:
Other Scripts:
Platforms Tested:

Cross-Site Scripting Vulnerability in phpWebThings

A cross-site scripting vulnerability exists in phpWebThings version 1.4.4 and possibly other versions. The vulnerability occurs due to the application's failure to properly sanitize user-supplied input. An attacker can exploit this vulnerability by injecting arbitrary script code into the 'forum' parameter of the 'forum.php' page. This can lead to the execution of malicious scripts in the browser of an unsuspecting user, potentially resulting in the theft of authentication credentials and other attacks.

Mitigation:

To mitigate this vulnerability, it is recommended to update to a patched version of phpWebThings or apply the necessary fixes provided by the vendor. Additionally, input validation and sanitization should be implemented to prevent cross-site scripting attacks.
Source

Exploit-DB raw data:

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

phpWebThings is prone to a cross-site scripting vulnerability. This issue is due to a failure in the application to properly sanitize user-supplied input.

An attacker may leverage this issue to have arbitrary script code executed in the browser of an unsuspecting user in the context of the affected site. This may facilitate the theft of cookie-based authentication credentials as well as other attacks.

phpWebThings version 1.4.4 is affected; other versions may also be vulnerable. 

http://www.example.com/forum.php?forum='><script>alert(document.cookie)</script>