<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.koozali.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.koozali.org/"
          
          maintainer="staff@lists.contribs.org"
>

    <bug>
          <bug_id>13521</bug_id>
          
          <creation_ts>2026-04-26 15:25:57 +0200</creation_ts>
          <short_desc>disable auto populate of argc and argv from web request&apos;s query string.</short_desc>
          <delta_ts>2026-06-20 06:00:55 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>SME Server</classification>
          <product>SME Server 11.X</product>
          <component>e-smith-*/smeserver-* packages</component>
          <version>11.beta1</version>
          <rep_platform>---</rep_platform>
          <op_sys>---</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>11.0.rc1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jean-Philippe Pialasse">tests</reporter>
          <assigned_to name="SME Server bug team">bugteam</assigned_to>
          <cc>brianr</cc>
          
          <qa_contact name="SME Server bug team">bugteam</qa_contact>
          <cf_package>smeserver-php</cf_package>
          <votes>0</votes>

      

      

      

          <comment_sort_order>newest_to_oldest_desc_first</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>120769</commentid>
    <comment_count>0</comment_count>
    <who name="Jean-Philippe Pialasse">tests</who>
    <bug_when>2026-04-26 15:25:57 +0200</bug_when>
    <thetext>should set register_argc_argv = Off
in php.ini and /or php-fpm.d

could lead to  Remote Code Execution (RCE) vulnerabilities (e.g., CVE-2024-56145).

since php 85 having it enabled would show deprecated message


Deprecated: Deriving $_SERVER[&apos;argv&apos;] from the query string is deprecated. Configure register_argc_argv=0 to turn this message off in Unknown on line 0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121379</commentid>
    <comment_count>3</comment_count>
    <who name="Jean-Philippe Pialasse">tests</who>
    <bug_when>2026-06-20 06:00:55 +0200</bug_when>
    <thetext>released</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121056</commentid>
    <comment_count>2</comment_count>
    <who name="Brian Read">brianr</who>
    <bug_when>2026-06-06 12:28:23 +0200</bug_when>
    <thetext>[root@sme11 ~]# cat /etc/php.ini | grep arg
register_argc_argv                     = Off
[root@sme11 ~]# cat /etc/php.d/

VERIFIED</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120772</commentid>
    <comment_count>1</comment_count>
    <who name="Jean-Philippe Pialasse">tests</who>
    <bug_when>2026-04-26 22:40:34 +0200</bug_when>
    <thetext>
Created task: 32897
Task info: http://koji.koozali.org/koji/taskinfo?taskID=32897
* Sun Apr 26 2026 Jean-Philippe Pialasse &lt;jpp@koozali.org&gt; 11.0.0-25.sme
- SECURITY default register_argc_argv to off  [SME: 13521]</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>