## https://sploitus.com/exploit?id=66F95A30-33DA-5EE7-A450-22DB16D94DE4
# CVE-2023-42820
CVE-2023-42820
## Vulnerability Description
JumpServer Password Reset Vulnerability
## Usage
### V2 Update
1. Fully refactored
2. Added support for using default accounts and emails when no account or email is received
3. Improved verification code recognition and calculation
4. Automatically modifies passwords
5. Disables unnecessary log outputs

### V1
To calculate the verification code, you need to specify the username corresponding to the email address. After execution, the system will automatically determine if there are any vulnerabilities and attempt to calculate the verification code.
~~~python
python CVE-2023-42820.py -t http://IP:Port -e email -u username
ββββββββββ βββββββββββ βββββββ βββββββ βββββββ βββββββ βββ ββββββββββ ββββββ βββββββ βββββββ
βββββββββββ βββββββββββ βββββββββββββββββββββββββββββββββ βββ ββββββββββββββββββββββββββββββββββββ
βββ βββ βββββββββββββββ ββββββββββββββββ βββββββ βββββββββββββββββββββ βββββββββββββββ ββββββββββββββββ
βββ ββββ βββββββββββββββββββββββ ββββββββββββββββ ββββββββββββββββββββββββββ βββββββββββββββ βββββββββ
ββββββββ βββββββ ββββββββ βββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββ
βββββββ βββββ ββββββββ ββββββββ βββββββ βββββββββββββββ βββββββββββ ββββββ ββββββββ βββββββ
@Auth: C1ph3rX13
@Blog: https://c1ph3rx13.github.io
@Note: The code is for educational purposes only. Do not use it for other purposes.
Usage: CVE-2023-42820.py [-h] -t TARGET -e EMAIL -u USERNAME [--proxy PROXY]
CVE-2023-42820 by C1ph3rX13. Optional arguments:
-h, --help Show this help message and exit
-t TARGET, --target TARGET
Target URL
-e EMAIL, --email EMAIL
Account email
-u USERNAME, --username USERNAME
Account username
--proxy PROXY Proxy to http://ip:port
~~~


## Disclaimer
1. This tool is intended only for penetration testers with legal authorization and network operations personnel who perform routine tasks. Users can download, copy, distribute, or use this tool under the condition of having sufficient legal authorization and for non-commercial purposes. 2. During the use of this tool, you must ensure that all your actions comply with local laws and regulations. Do not use this software for activities that violate the laws of the Peopleβs Republic of China. All authors and contributors of this tool do not assume any responsibility for any illegal activities conducted by users using this tool. ### References
https://github.com/vulhub/vulhub/tree/master/base/jumpserver/3.6.3