Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Improperly Secured PHP Functions Can Lead to Full System Acces 🧵

11,993 görüntüleme • 1 yıl önce •via X (Twitter)

5 Yorum

OffSec profil fotoğrafı
OffSec1 yıl önce

A vulnerable PHP function, system(), allowed us to execute arbitrary commands on the target. By capturing a generated password and modifying the request, we successfully executed id—proving remote code execution (RCE) was possible.

OffSec profil fotoğrafı
OffSec1 yıl önce

What this means: ⭕️ Attackers can escalate this to a reverse shell, gaining full control over the system. ⭕️ Web apps that allow unsanitized user input in system commands are high-risk targets.

OffSec profil fotoğrafı
OffSec1 yıl önce

Key takeaway: If you're securing web applications, always assume input can be weaponized and lock down execution paths before attackers do. Prevent this by disabling functions (system, exec, shell_exec) and implementing proper input validation.

OffSec profil fotoğrafı
OffSec1 yıl önce

For more tutorials, join OffSec Live: 🗓️ Friday, February 14th, 2025 at 6:00 p.m. ET 💻 PG Practice Machine: Shiftdel 🎯 Topic: PEN-200 - Common Web Application Attacks, Locating Public Exploits and Linux Privileges Escalation

毛玉真 profil fotoğrafı
毛玉真1 yıl önce

确实,PHP函数如果没有妥善保护,可能会导致系统被完全访问。这提醒我们在开发中要加强安全措施,确保代码安全,避免潜在风险。💰

Benzer Videolar