-
Notifications
You must be signed in to change notification settings - Fork 1k
AVideo Platform Security Releases
This page contains security best practices, known vulnerabilities, and security releases for the AVideo Platform. Keeping your installation secure is critical - please review this document regularly.
⚠️ Important: Always update your AVideo installation when security patches are released. Monitor the GitHub releases page for security announcements.
- Security Best Practices
- How to Report Security Issues
- Checking for Vulnerabilities
- Security Releases History
Follow these guidelines to keep your AVideo installation secure:
- Regularly check for updates: Admin → Update Version
- Monitor GitHub Releases for security patches
- Update immediately when security releases are announced
- See: How to Update your AVideo Platform
- Always use HTTPS - never run a production site on HTTP
- Get a free SSL certificate from Let's Encrypt
- Redirect all HTTP traffic to HTTPS
- See: Why use HTTPS
# Set ownership to web server user
sudo chown -R www-data:www-data /var/www/html/AVideo/
# Set directory permissions (755)
sudo find /var/www/html/AVideo/ -type d -exec chmod 755 {} \;
# Set file permissions (644)
sudo find /var/www/html/AVideo/ -type f -exec chmod 644 {} \;
# Make videos directory writable
sudo chmod 775 /var/www/html/AVideo/videos/The videos/ directory should NOT contain executable PHP files (except configuration.php).
# Check for unauthorized PHP files
ls -la /var/www/html/AVideo/videos/*.phpOnly configuration.php should exist. Delete any other PHP files immediately.
Optional: Use the SecureVideosDirectory Plugin to prevent direct access to video files.
- Admin password should be at least 12 characters
- Use a mix of letters, numbers, and symbols
- Never use default passwords
- Change passwords regularly
- Consider enabling 2FA/OTP Login
- Use a unique MySQL user for AVideo (not root)
- Set a strong database password
- Limit database user permissions to only what's needed
- Keep your server OS updated
- Use a firewall (UFW, iptables)
- Disable unnecessary services
- Use SSH keys instead of passwords
- Consider fail2ban for brute-force protection
If you discover a security vulnerability in AVideo:
Do NOT open a public GitHub issue for critical security vulnerabilities.
Instead, contact the team privately:
- Email: developer@youphptube.com or developer@avideo.com
- Include detailed steps to reproduce the issue
- Allow time for a fix before public disclosure
- Open an issue on GitHub Issues
- Label it as a security concern
- Provide as much detail as possible
Run these commands periodically to audit your AVideo installation.
# List all PHP files in videos directory
find /var/www/html/AVideo/videos/ -name "*.php" -type f
# Only configuration.php should appear
# Delete any other PHP files immediately!# Search for known miner files
find /var/www/html/AVideo/ -name "xmrig*" -o -name "minerd*" -o -name "cpuminer*"
# Check for suspicious processes
ps aux | grep -E "xmrig|minerd|cpuminer"
# Check high CPU usage processes
top -bn1 | head -20# Check for recently modified PHP files (last 7 days)
find /var/www/html/AVideo/ -name "*.php" -mtime -7 -type f
# Compare with git to find modified files
cd /var/www/html/AVideo/
git status
git diff# In MySQL, check for unknown admin users
mysql -u youphptube -p -e "SELECT id, user, email, isAdmin FROM avideo.users WHERE isAdmin = 1;"# Check for suspicious requests
grep -E "\.php\?" /var/log/apache2/access.log | tail -100
# Check for failed login attempts
grep -i "failed\|error\|denied" /var/log/apache2/error.log | tail -50Consider running periodic security scans:
Security releases are listed below by date. Update immediately if you're running an affected version.
Severity: Critical
Affected: Early AVideo/YouPHPTube installations
Issue: Attackers injected xmrig (Monero CPU miner) into servers
Someone from IP 188.69.197.2 on Thu Oct 26 04:34:17 was hacking AVideo Platform servers for some days. They were injecting xmrig (Monero CPU miner) in the servers, causing services to be slow.
Run this command:
updatedb && locate xmrigIf you find these files, you were infected:
/var/www/html/YouPHPTube/videos/xmrig
/var/www/html/YouPHPTube/videos/xmrig.log
-
Delete the malicious files:
rm /var/www/html/YouPHPTube/videos/xmrig* rm /var/www/html/YouPHPTube/videos/config.json rm /var/www/html/YouPHPTube/videos/upl.php -
Search for other PHP files in videos directory:
cd /var/www/html/YouPHPTube/videos/ && ls -lah *.php
Only configuration.php is allowed here. Delete any other PHP file.
-
Update your AVideo Platform:
-
Restart your server
You're clean now!
Video instructions: https://tutorials.avideo.com/video/security-releases-release-1-2017-oct-261
- 🔔 Watch the AVideo GitHub repository for notifications
- 📢 Follow @avideoplatform on Twitter
- 💬 Join the Discord community
This document is updated when new security issues are discovered. Last reviewed: 2026
The Open Source Video Platform Solution
| Service | Description | Link |
|---|---|---|
| 🎯 | Professional Support - Direct assistance from core developers | Contact |
| ☁️ | AVideo CDN - High-performance video delivery network | Pricing |
AVideo Platform © 2024 - Self-hosted video streaming platform
Made with ❤️ by WWBN and the open source community