S4E just found a medium [ai] private ip disclosure detection scanner
medium·Product Based Web Vulnerabilities·Updated Mar 8, 2024

CVE-2023-22432 Scanner

CVE-2023-22432 scanner - Open Redirect vulnerability in Web2py

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, ipv4, subdomain
CostFree
2.1k
Times Used
continuous scan runs
3.4k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2023-22432
6.1
CVSSmedium
Exploitable remotely over the internet · no authentication required · user interaction needed.

Open redirect vulnerability exists in web2py versions prior to 2.23.1. When using the tool, a web2py user may be redirected to an arbitrary website by accessing a specially crafted URL. As a result, the user may become a victim of a phishing attack.

Attack Vector
Network
Privileges Req.
None
User Interaction
Required
Affected
web2pyby web2py
versions prior to 2.23.1
Updated Aug 19, 2026View on NVD →
Detail

Web2py is a free and open-source full-stack web development framework that allows developers to build dynamic web applications quickly and efficiently. It's written in Python and follows the Model-View-Controller (MVC) design pattern, which separates the application logic from the user interface, making it easier to manage and scale web applications. Web2py is used by web developers and organizations around the world for creating a wide range of applications, from simple web sites to complex database-driven web applications. It provides built-in components for handling sessions, authentication, and authorization, simplifying the development process. Web2py is designed to be accessible to beginners, yet powerful enough for advanced users, providing a flexible and productive environment for web development.

The Open Redirect vulnerability in Web2py versions prior to 2.23.1 can lead to unauthorized redirection of users to malicious websites. This vulnerability is exploited through specially crafted URLs, making it possible for attackers to redirect users to phishing or malware sites without their knowledge. Open Redirect vulnerabilities are particularly dangerous because they can be used to steal sensitive information, such as login credentials, or to distribute malware by exploiting the trust relationship between the user and the legitimate site. It is crucial for web applications to validate and sanitize all user inputs, especially URL parameters, to prevent such vulnerabilities.

This vulnerability is exploited through a POST request to the /admin/default/index endpoint of the web2py application. The exploit uses a crafted password parameter combined with a specially formatted send parameter to trigger the redirection. The lack of proper validation and sanitization of these inputs in web2py versions prior to 2.23.1 allows attackers to redirect users to arbitrary websites. This is particularly concerning because the redirection occurs within the context of the web application's domain, potentially leading users to believe the malicious website is trustworthy. Fixing this vulnerability requires properly checking and encoding URL parameters to ensure only valid and intended redirects are allowed.

Exploitation of the Open Redirect vulnerability could lead to phishing attacks, where attackers trick users into revealing their personal or login information. Additionally, it could be used in combination with other exploits to distribute malware or conduct other malicious activities. Since the redirection appears to come from a trusted source, users are more likely to trust the malicious site they are redirected to. This can lead to significant security breaches, including compromised user accounts and unauthorized access to sensitive data.

By joining the S4E platform, users gain access to a comprehensive suite of cybersecurity tools designed to identify and mitigate vulnerabilities like the Open Redirect flaw in Web2py. Our platform provides detailed vulnerability assessments, including actionable recommendations for remediation. Membership ensures continuous monitoring and protection of your digital assets against emerging threats, helping maintain the integrity and security of your web applications. Leverage our expertise to enhance your cybersecurity posture and safeguard your online presence effectively.

 

References

Solution Advice
  1. Update to web2py version 2.23.1 or higher to address this vulnerability.
  2. Implement input validation and sanitization routines to ensure that all URL parameters are checked for malicious content.
  3. Use allow-listing to restrict redirects to known, safe URLs within your application.
  4. Regularly review and update security policies and practices to prevent similar vulnerabilities in the future.
  5. Educate users about phishing tactics and encourage them to verify URLs before providing personal information.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.