<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Qualys 150568 Content-Based Blind SQL Injection on REST Endpoints in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/qualys-150568-content-based-blind-sql-injection-on/m-p/1619307#M4995</link>
    <description>&lt;P&gt;Hi Ben,&lt;/P&gt;&lt;P&gt;Happened to see this question, I don't typically follow this space.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is expected behavior in ArcGIS. There's nothing to fix.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Users expect to be able to see all of the records in a spatial table. In a banking use case, where I'm only expected to see details related to my own bank record, this would be a problem. However, in the ArcGIS use case, the expected behavior is to see, for example, all points in a map in a given spatial envelope.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 May 2025 15:57:45 GMT</pubDate>
    <dc:creator>RandallWilliams</dc:creator>
    <dc:date>2025-05-29T15:57:45Z</dc:date>
    <item>
      <title>Qualys 150568 Content-Based Blind SQL Injection on REST Endpoints</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/qualys-150568-content-based-blind-sql-injection-on/m-p/1586681#M4948</link>
      <description>&lt;P&gt;My organization uses Qualys to scan web applications. It picked up my REST endpoints and flagged them with a level 5 high vulnerability and now I have people in the security department telling me I need to fix it.&lt;/P&gt;&lt;P&gt;This is the summary of the problem:&amp;nbsp;&lt;A href="https://blog.qualys.com/product-tech/2023/02/09/blind-sql-injection-content-based-time-based-approaches" target="_blank"&gt;https://blog.qualys.com/product-tech/2023/02/09/blind-sql-injection-content-based-time-based-approaches&lt;/A&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;True condition payload is ‘ AND 1=1&lt;/P&gt;&lt;P&gt;This condition is true, so available records are returned, which is the same as if the payload was the item by itself.&lt;/P&gt;&lt;P&gt;False condition payload is ‘ AND 1=2&lt;/P&gt;&lt;P&gt;The condition is false, so no records are returned and the output is nothing or a message such as No Results Found.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Seeing the difference in results, the scanning engine draws the conclusion that there is a blind SQL injection vulnerability.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If I understand this correctly,&amp;nbsp; for it not to get flagged, I'd need the REST API to return the same result set for the true query "1=1" and the false query "1=1 AND 1=2" in the "where=" request parameter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Firstly, am I reading this right? Secondly, is there any advice on how to either fix this, so it's no longer flagged as a vulnerability or convince the security department that this is not a vulnerability?&lt;/P&gt;&lt;P&gt;I'm Using ArcGIS Server 11.4.0 with standardizedQueries: "true" set and querying FeatureServices. (I've also tried turning off standardizedQueries as well, and it gives the same result)&lt;/P&gt;&lt;P&gt;The exact queries the scan used are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;False: '1=11 or 11=12'&lt;/LI&gt;&lt;LI&gt;True: '1=11 or 11=11'.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 18 Feb 2025 22:14:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/qualys-150568-content-based-blind-sql-injection-on/m-p/1586681#M4948</guid>
      <dc:creator>BenRomlein</dc:creator>
      <dc:date>2025-02-18T22:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Qualys 150568 Content-Based Blind SQL Injection on REST Endpoints</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/qualys-150568-content-based-blind-sql-injection-on/m-p/1619307#M4995</link>
      <description>&lt;P&gt;Hi Ben,&lt;/P&gt;&lt;P&gt;Happened to see this question, I don't typically follow this space.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is expected behavior in ArcGIS. There's nothing to fix.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Users expect to be able to see all of the records in a spatial table. In a banking use case, where I'm only expected to see details related to my own bank record, this would be a problem. However, in the ArcGIS use case, the expected behavior is to see, for example, all points in a map in a given spatial envelope.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 May 2025 15:57:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/qualys-150568-content-based-blind-sql-injection-on/m-p/1619307#M4995</guid>
      <dc:creator>RandallWilliams</dc:creator>
      <dc:date>2025-05-29T15:57:45Z</dc:date>
    </item>
  </channel>
</rss>

