Project: Github Paroxyste/Simply-Blog 20190102

Vulnerability: #9224533 (2019-01-02 06:08:03)

Warning

There are many false positives, or unexploitable vulnerabilities. Please create working "PoC" exploit before reporting anything to vendor!

Details:

Sink @FUNCTION::mysqli_query
Risk _GET
/Simply-Blog-master/posts/post.php:122 (show/hide source)
102          </form>
103        </div>
104      </div>
105    </nav>
106  
107    <div class="page-header header-filter clear-filter" style="background-image: url('../assets/img/bg0.jpg');">
108      <div class="container">
109        <div class="row">
110          <div class="col-md-8 ml-auto mr-auto">
111            <div class="brand">
112              <h1>Simply Blog</h1>
113              <h3 class="title">A simple but efficient blogging CMS !</h3>
114            </div>
115          </div>
116        </div>
117      </div>
118    </div>
119  
120    <?php
121      if(isset($_GET["SearchButton"])) {
122 $Search = $_GET["Search"];
123 $ViewQuery = "SELECT * FROM admin_panel WHERE datetime LIKE '%$Search%' 124 OR title LIKE '%$Search%' OR category LIKE '%$Search%' OR post LIKE '%$Search%'";
Threat level 1

Callstack:

@INLINE::/Simply-Blog-master/admin/editCategories.php /Simply-Blog-master/admin/editCategories.php:117 (show/hide source)
97                <i class="material-icons">web</i><p>Blog</p>
98              </a>
99            </li>
100  
101            <li class="nav-item">
102              <a class="nav-link" href="logout.php">
103                <i class="material-icons">exit_to_app</i><p>Log Out</p>
104              </a>
105            </li>
106          </ul>
107        </div>
108      </div>
109  
110      <div class="main-panel">
111        <nav class="navbar navbar-expand-lg navbar-transparent navbar-absolute fixed-top ">
112          <div class="container-fluid">
113          
114          <?php
115              $SearchQueryParam = $_GET["edit"];
116              $ViewQuery = "SELECT * FROM category WHERE id='$SearchQueryParam'";
117 $Execute = mysqli_query($Connection, $ViewQuery);
118 119 while($DataRows = mysqli_fetch_array($Execute)) {