PHP Classes

BAST PHP Security Test: Test if PHP or Apache have vulnerabilities

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 57%Total: 1,594 All time: 2,464 This week: 146Up
Version License PHP version Categories
bast-security-tester 1.13.28GNU Lesser Genera...5.0PHP 5, Security
Description 

Author

This class can test if the current PHP or Apache versions have security vulnerabilities.

It can determine the current versions of PHP or Apache in use as well its modules and extensions and performs checks to see if those versions have known security vulnerabilities.

The class can display the results with the list of found vulnerabilities as well URLs of the pages that describe those vulnerabilities.

Innovation Award
PHP Programming Innovation award winner
October 2012
Winner


Prize: One downloadable copy of PhpED Professional
Apache and PHP are often used together to serve many sites throughout the Web.

Often each new version of these projects fixes bugs that can compromise the security of the Web sites on which they are used.

This class manages a database of known security bugs present in each version of Apache and PHP.

With this information, the class can tell exactly which bugs are present in the current version of Apache and PHP in use in the current site.

This information is helpful to help developers and systems administrators to determine if they need to upgrade to a newer version of Apache and PHP when the current version has known serious security bugs.

Manuel Lemos
Picture of Artur Graniszewski
  Performance   Level  
Name: Artur Graniszewski is available for providing paid consulting. Contact Artur Graniszewski .
Classes: 14 packages by
Country: Poland Poland
Age: 42
All time rank: 2874 in Poland Poland
Week rank: 197 Up2 in Poland Poland Up
Innovation award
Innovation award
Nominee: 7x

Winner: 1x

Details

HOW TO USE: ----------------------- 1) launch the index.php file (and see it's contents for details) or 2) include the SecurityTest.php in your application and create the MainTest like so: new MainTest(); DISCLAIMER: ----------------------- This is just a set of simple security tests created in PHP and targeted mainly for PHP and Apache software. If you don't see any vulnerabilities listed in report, then do not think your system is secure (it's just that this class failed to find any weakneses). KEEPING UP TO DATE: --------------------- This class and its database will be updated every time the new version of tested software (PHP/Apache) will be released to public. FEEDBACK: ---------------------- If you found any bug or inconcistency in my class, please do not hesitate and contact by sending email to aargoth@boo.pl. Your feedback will be greatly appreciated and used to improve this class. TODO: ----------------------- Better OS detection, more detailed reports, tests for Lighthttpd, MySQL, PostgreSQL, FTP, SSH. Improved tests for open_basedir path traversal, local port scans (to detect other software installed on server but not connected with PHP). CHANGELOG: ----------------------- 1.12.09.28: - initial version 1.12.10.08: - DB update: Added 3 security vulnerabilities for Apache 2.4.x (1 important, 2 low) 1.13.03.28: - DB update: Added security vulnerabilities for Apache and PHP 1.13.09.28: - DB update: Added security vulnerabilitues for Apache (6 moderate-to-low) and PHP (more than 8). - Reporting End-of-life warning for old software. Cheers, - Artur Graniszewski

Screenshots (1)  
  • report.png
  Files folder image Files (4)  
File Role Description
Plain text file SecurityTest.php Class Main class
Accessible without login Plain text file index.php Example Index file
Accessible without login Plain text file readme.txt Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,594
This week:0
All time:2,464
This week:146Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:68%StarStarStarStar
Documentation:62%StarStarStarStar
Examples:68%StarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1616