GitHunt
AC

acuciureanu/wp-plugins-analyzer

A WordPress plugins analyzer which is still work in progress anyway

⚠️ Work in Progress ⚠️

πŸ” WordPress Plugin Analyzer️

🌟 Overview

I want WordPress Plugin Analyzer to become a powerful tool designed to scan WordPress plugins for potential security vulnerabilities. It automatically downloads plugins, analyzes their PHP code, and reports possible security issues.

πŸš€ Features

  • πŸ“₯ Automatic plugin download and extraction
  • πŸ“Š Comparison of plugin versions for updates
  • πŸ”¬ In-depth code analysis using abstract syntax trees
  • πŸ›‘οΈ Multiple security checks for various vulnerability types

πŸ”’ Security Checks

Our analyzer performs the following security checks:

  1. πŸ—‘οΈ Arbitrary File Deletion
  2. πŸ“– Arbitrary File Read
  3. πŸ“€ Arbitrary File Upload
  4. πŸ”“ Broken Access Control
  5. πŸ”€ Cross-Site Request Forgery (CSRF)
  6. πŸ“ CSRF to Cross-Site Scripting (XSS)
  7. πŸ“ Local File Inclusion (LFI)
  8. πŸ”‘ Missing Capability Checks
  9. 🎭 PHP Object Injection
  10. πŸ”‹ Privilege Escalation
  11. πŸ’» Remote Code Execution (RCE)
  12. πŸ’‰ SQL Injection
  13. 🌐 Server-Side Request Forgery (SSRF)

πŸ› οΈ Usage

  1. Ensure you have Rust and its dependencies installed.
  2. Clone this repository.
  3. Run cargo build --release to compile the project.
  4. Execute the binary with cargo run --release.

The analyzer will automatically:

  • Fetch the latest WordPress plugins
  • Compare with previous snapshots (if available)
  • Download and analyze each plugin
  • Report potential vulnerabilities

πŸ“Š Output

The analyzer provides detailed output for each potential vulnerability found, including:

  • The file name
  • The type of vulnerability
  • Specific details about the detected issue

⚠️ Disclaimer

This tool is intended for educational and security research purposes only. Always verify results manually and respect the WordPress plugin directory's terms of service.

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

acuciureanu/wp-plugins-analyzer | GitHunt