Project: Github Paroxyste/Simply-Blog 20190102

Vulnerability: #9224531 (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/editPost.php /Simply-Blog-master/admin/editPost.php:191 (show/hide source)
171                      </div>
172                    </div>
173                  </div>
174                </div>
175  
176                <div class="col-md-4">
177                  <div class="card ">
178                    <div class="card-header card-header-rose card-header-text">
179                      <div class="card-icon"><i class="material-icons">local_offer</i></div>
180                      <h4 class="card-title">Categories</h4>
181                    </div>
182  
183                    <div class="card-body ">
184                      <div class="form-group">
185                        <div class="dropdown">
186                        <select class="selectpicker" type="text" id="category" name="Category" data-style="select-with-transition"
187                                multiple title="<?php echo htmlentities($CurrentCategory); ?>" data-size="7" required>
188  
189                            <?php
190  							              $ViewQuery = "SELECT * FROM category";
191 $Execute = mysqli_query($Connection, $ViewQuery);
192 $Position = 0; 193