-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Add documentation for auxiliary/scanner/http/wordpress_cp_calendar_sqli #20456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
msutovsky-r7
merged 3 commits into
rapid7:master
from
RakRakGaming:doc/wordpress_cp_calendar_sqli
Oct 2, 2025
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
104 changes: 104 additions & 0 deletions
104
documentation/modules/auxiliary/scanner/http/wordpress_cp_calendar_sqli.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
## Vulnerable Application | ||
|
||
This module will scan given instances for an unauthenticated SQL injection | ||
within the CP Multi-View Calendar plugin v1.1.4 for Wordpress. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This calls out version 1.1.4 but below on line 75, version 1.4.32 seems to be installed. If multiple versions are affected, it'd make sense to call that out here as a range. As it's worded now, it sounds like there's exactly one vulnerable version. |
||
|
||
## References | ||
* [https://wordpress.org/plugins/cp-multi-view-calendar/] | ||
|
||
### Setup using Docksal | ||
Install [Docksal](https://docksal.io/) | ||
|
||
Create a new Wordpress installation using `fin project create` | ||
|
||
``` | ||
➜ ~ fin project create | ||
1. Name your project (lowercase alphanumeric, underscore, and hyphen): msf-wp | ||
2. What would you like to install? | ||
PHP based | ||
1. Drupal 8 | ||
2. Drupal 8 (Composer Version) | ||
3. Drupal 7 | ||
4. Wordpress | ||
5. Magento | ||
6. Laravel | ||
7. Symfony Skeleton | ||
8. Symfony WebApp | ||
9. Grav CMS | ||
10. Backdrop CMS | ||
Go based | ||
11. Hugo | ||
JS based | ||
12. Gatsby JS | ||
13. Angular | ||
HTML | ||
14. Static HTML site | ||
Enter your choice (1-14): 4 | ||
Project folder: /home/weh/dev/msf-wp | ||
Project software: Wordpress | ||
Project URL: http://msf-wp.docksal | ||
Do you wish to proceed? [y/n]: y | ||
Cloning repository... | ||
Cloning into 'msf-wp'... | ||
... | ||
3. Installing site | ||
Step 1 Initializing stack... | ||
Removing containers... | ||
... | ||
Starting services... | ||
Creating network "msf-wp_default" with the default driver | ||
Creating volume "msf-wp_cli_home" with default driver | ||
Creating volume "msf-wp_project_root" with local driver | ||
Creating volume "msf-wp_db_data" with default driver | ||
Creating msf-wp_db_1 ... done | ||
Creating msf-wp_cli_1 ... done | ||
Creating msf-wp_web_1 ... done | ||
Connected vhost-proxy to "msf-wp_default" network. | ||
Waiting for project stack to become ready... | ||
Step 2 Initializing site... | ||
Step 2 Generating wp-config.php... | ||
Success: Generated 'wp-config.php' file. | ||
Step 3 Installing site... | ||
msmtp: envelope-from address is missing | ||
Success: WordPress installed successfully. | ||
Open http://msf-wp.docksal in your browser to verify the setup. | ||
Admin panel: http://msf-wp.docksal/wp-admin. User/password: admin/admin | ||
DONE! Completed all initialization steps. | ||
➜ ~ | ||
``` | ||
|
||
Download the Wordpress plugin | ||
|
||
``` | ||
cd msf-wp/wp-content/plugins | ||
wget https://github.com/wp-plugins/cp-multi-view-calendar/archive/refs/tags/1.0.2.zip | ||
unzip 1.0.2.zip | ||
``` | ||
|
||
Login and click on DukaPress "Activate" Link | ||
|
||
``` | ||
http://msf-wp.docksal/wp-admin/plugins.php | ||
user: admin | ||
pass: admin | ||
``` | ||
|
||
## Verification Steps | ||
|
||
1. Do: `use auxiliary/scanner/http/press_cp_calendar_sqli` | ||
2. Do: `set RHOSTS [IP]` | ||
3. Do: `set VHOST [HOSTNAME]` | ||
4. Do: `run` | ||
|
||
## Options | ||
|
||
|
||
## Scenarios | ||
|
||
``` | ||
msf auxiliary(wordpress_cp_calendar_sqli) > run | ||
|
||
[+] 10.211.55.4:80 - Vulnerable to unauthenticated SQL injection within CP Multi-View Calendar 1.1.4 for Wordpress | ||
[*] Scanned 1 of 1 hosts (100% complete) | ||
[*] Auxiliary module execution completed | ||
``` |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind running
ruby tools/dev/msftidy_docs.rb documentation/modules/auxiliary/scanner/http/wordpress_cp_calendar_sqli.md
and address the detected issues?