0day.today - Biggest Exploit Database in the World.
![](/img/logo_green.jpg)
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earnGOLD
Administration of this site uses the official contacts. Beware of impostors!
![We DO NOT use Telegram or any messengers / social networks!](/img/no_telegram_big.png)
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
PacketFence Network Access Controller XSS vulnerability
======================================================= PacketFence Network Access Controller XSS vulnerability ======================================================= # Title : Injection Flaw in PacketFence Network Access Controller # Date : 20-12-2009 # Author : K053 # Tested on : Private Networks # Download : http://www.packetfence.org/download/releases.html ______________________________________________________________________________________________ Note : ------ PacketFence is a fully supported, Free and Open Source network access control (NAC) system. PacketFence is actively maintained and has been deployed in numerous large-scale institutions over the past years. It can be used to effectively secure networks - from small to very large heterogeneous networks. ______________________________________________________________________________________________ Bug [ Login.php ] : ------------------- function check_input($input){ if(preg_match("/^[\@a-zA-Z0-9_\:\,\(\)]/", $input) && strlen($input) <= 15){ return true; } else{ print "Invalid parameter: $input<br>"; return false; } } //TODO are we being too difficult on what we accept as a password? ie: pass starting with ; is invalid function check_sensitive_input($input){ if(preg_match("/^[\@a-zA-Z0-9_\:\,\(\)]/", $input) && strlen($input) <= 15){ return true; } else{ print "Invalid sensitive parameter<br>"; return false; } } ______________________________________________________________________________________________ Poc : ----- The Function fail on input validation on passed data, application is vulnerable to injection flaw like Xss , Html Code injection ... : Attacker can perform attack via post method : manipulate passed data or just enter something like <script>alert(0)</script> in username filed . ______________________________________________________________________________________________ # 0day.today [2024-06-16] #