🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.rc
5 messages
5 total messages Started by Gregory Colpart Fri, 06 Nov 2026 23:50
Bug#1153297: sympa: WWSympa: arc: Deleted or raw message files could be fetched
#2549
Author: Gregory Colpart
Date: Fri, 06 Nov 2026 23:50
417 lines
16234 bytes
--7umlzqyfieaqzifj
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

Package: sympa
Severity: grave
Tags: fixed-upstream security patch

Hello,

A security vulnerability has been identified in WWSympa before version 6.2.80

Due to a flaw in how message file paths are handled in the archive
component (arc), unauthenticated or unauthorized users could
potentially fetch deleted or raw message files that should not be accessible.

This issue has been fixed upstream in 6.2.80 via:
https://github.com/sympa-community/sympa/pull/2068

There is no CVE identifier assigned yet, but we have been informed of
active exploitation / real-world attacks using this vulnerability.

This issue affects all current versions in Debian.

We have backported the upstream patch for Debian versions 10, 11, 12,
and 13. The corresponding patches are attached to this report.

Thanks for maintaining Sympa in Debian!

Regards,
-- 
Grégory Colpart - Gérant Evolix - Clé OpenPGP : 0x44975278B8612B5D
Evolix - Hébergement et Infogérance Open Source
Marseille (37 rue Guibal, Pôle Média, 13003) / Paris / Montréal
https://evolix.com | mastodon.evolix.org/@evolix | blog.evolix.com

--7umlzqyfieaqzifj
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment; filename="sympa-6.2.40-debian10.patch"

--- a/usr/share/sympa/lib/Sympa/Archive.pm
+++ b/usr/share/sympa/lib/Sympa/Archive.pm
@@ -212,8 +212,15 @@
     return undef unless $self->{arc_directory};
     return undef unless $options{file};
 
+    # Omit arctxt etc.
+    return undef
+        if grep { 0 == index $_, '.' or $_ eq 'arctxt' or $_ eq 'deleted' }
+        split m{/+}, $options{file};
+    # Remove extra slashes.
+    my $file = join '/', grep {length} split m{/+}, $options{file};
+
     my $handle =
-        IO::File->new($self->{arc_directory} . '/' . $options{file}, '<');
+        IO::File->new($self->{arc_directory} . '/' . $file, '<');
     return undef unless $handle;
 
     my $metadata = {};    # May be empty.
@@ -235,7 +242,7 @@
     }
     seek $handle, 0, 0;
     $metadata->{html_content} = do { local $RS; <$handle> };
-    $metadata->{filename} = $options{file};
+    $metadata->{filename} = $file;
 
     return $metadata;
 }
--- a/usr/lib/cgi-bin/sympa/wwsympa.fcgi
+++ b/usr/lib/cgi-bin/sympa/wwsympa.fcgi
+++ /usr/lib/cgi-bin/sympa/wwsympa.fcgi 2026-11-06 23:52:31.709276819 +0100
@@ -997,13 +997,6 @@
     'role' => 'member|editor|owner',
 );
 
-## Regexp applied on incoming parameters (%in)
-## This regular expression defines forbidden expressions applied on all
-## incoming parameters
-## Note that you can use the ^ and $ expressions to match beginning and ending
-## of expressions
-our %in_negative_regexp = ('arc_file' => '^(arctxt|\.)');
-
 # No longer used as of 6.2.19b.
 #my %filtering;
 
@@ -2158,13 +2151,6 @@
             $regexp = $in_regexp{'*'};
         }
 
-        my $negative_regexp;
-        if ($pname =~ /^additional_field/) {
-            $negative_regexp = $in_negative_regexp{'additional_field'};
-        } elsif ($in_negative_regexp{$pname}) {
-            $negative_regexp = $in_negative_regexp{$pname};
-        }
-
         # If we are editing an HTML file in the shared, allow HTML but prevent
         # XSS.
         if (   $pname eq 'content'
@@ -2182,9 +2168,7 @@
             }
         }
         foreach my $one_p (split /\0/, $in{$p}) {
-            if ($one_p !~ /^$regexp$/s
-                || (defined $negative_regexp && $one_p =~ /$negative_regexp/s)
-            ) {
+            unless ($one_p =~ /\A$regexp\z/s) {
                 Sympa::WWW::Report::reject_report_web('user', 'syntax_errors',
                     {p_name => $p},
                     '', '');
@@ -8731,16 +8715,15 @@
         $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     } else {
         $html_metadata = $archive->html_fetch(file => $in{'arc_file'});
+        $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     }
     unless ($html_metadata) {
+        print "Status: 404 Not Found\n";
         wwslog('err', 'Unable to read HTML message <%s>', $in{'arc_file'});
         Sympa::WWW::Report::reject_report_web(
             'user',
-            'arc_not_found',    #FIXME: Not implemented.
-            {   'arc_file' => $in{'arc_file'},
-                'month'    => $in{'month'},
-                'listname' => $param->{'list'}
-            },
+            'no_required_file',
+            {},
             $param->{'action'},
             $list,
             $param->{'user'}{'email'},

--7umlzqyfieaqzifj
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment; filename="sympa-6.2.60-debian11.patch"

--- a/usr/share/sympa/lib/Sympa/Archive.pm
+++ b/usr/share/sympa/lib/Sympa/Archive.pm
@@ -215,7 +215,14 @@
     return undef unless $self->{arc_directory};
     return undef unless $options{file};
 
-    my $html_file = $self->{arc_directory} . '/' . $options{file};
+    # Omit arctxt etc.
+    return undef
+        if grep { 0 == index $_, '.' or $_ eq 'arctxt' or $_ eq 'deleted' }
+        split m{/+}, $options{file};
+    # Remove extra slashes.
+    my $file = join '/', grep {length} split m{/+}, $options{file};
+
+    my $html_file = $self->{arc_directory} . '/' . $file;
     my $handle = IO::File->new($html_file, '<');
 
     unless ($handle) {
@@ -245,7 +252,7 @@
     }
     seek $handle, 0, 0;
     $metadata->{html_content} = do { local $RS; <$handle> };
-    $metadata->{filename} = $options{file};
+    $metadata->{filename} = $file;
 
     return $metadata;
 }
--- a/usr/lib/cgi-bin/sympa/wwsympa.fcgi
+++ b/usr/lib/cgi-bin/sympa/wwsympa.fcgi
@@ -997,13 +997,6 @@
     'role' => 'member|editor|owner',
 );
 
-## Regexp applied on incoming parameters (%in)
-## This regular expression defines forbidden expressions applied on all
-## incoming parameters
-## Note that you can use the ^ and $ expressions to match beginning and ending
-## of expressions
-our %in_negative_regexp = ('arc_file' => '^(arctxt|\.)');
-
 # No longer used as of 6.2.19b.
 #my %filtering;
 
@@ -2132,13 +2125,6 @@
             $regexp = $in_regexp{'*'};
         }
 
-        my $negative_regexp;
-        if ($pname =~ /^additional_field/) {
-            $negative_regexp = $in_negative_regexp{'additional_field'};
-        } elsif ($in_negative_regexp{$pname}) {
-            $negative_regexp = $in_negative_regexp{$pname};
-        }
-
         # If we are editing an HTML file in the shared, allow HTML but prevent
         # XSS.
         if (   $pname eq 'content'
@@ -2156,9 +2142,8 @@
             }
         }
         foreach my $one_p (split /\0/, $in{$p}) {
-            if ($one_p !~ /^$regexp$/s
-                || (defined $negative_regexp && $one_p =~ /$negative_regexp/s)
-            ) {
+            unless ($one_p =~ /\A$regexp\z/s) {
+
                 Sympa::WWW::Report::reject_report_web('user', 'syntax_errors',
                     {p_name => $p},
                     '', '');
@@ -8741,16 +8726,15 @@
         $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     } else {
         $html_metadata = $archive->html_fetch(file => $in{'arc_file'});
+        $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     }
     unless ($html_metadata) {
+        print "Status: 404 Not Found\n";
         wwslog('err', 'Unable to read HTML message <%s>', $in{'arc_file'});
         Sympa::WWW::Report::reject_report_web(
             'user',
-            'arc_not_found',    #FIXME: Not implemented.
-            {   'arc_file' => $in{'arc_file'},
-                'month'    => $in{'month'},
-                'listname' => $param->{'list'}
-            },
+            'no_required_file',
+            {},
             $param->{'action'},
             $list,
             $param->{'user'}{'email'},

--7umlzqyfieaqzifj
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment; filename="sympa-6.2.70-debian12.patch"

--- a/usr/share/sympa/lib/Sympa/Archive.pm
+++ b/usr/share/sympa/lib/Sympa/Archive.pm
@@ -214,7 +214,14 @@
     return undef unless $self->{arc_directory};
     return undef unless $options{file};
 
-    my $html_file = $self->{arc_directory} . '/' . $options{file};
+    # Omit arctxt etc.
+    return undef
+        if grep { 0 == index $_, '.' or $_ eq 'arctxt' or $_ eq 'deleted' }
+        split m{/+}, $options{file};
+    # Remove extra slashes.
+    my $file = join '/', grep {length} split m{/+}, $options{file};
+
+    my $html_file = $self->{arc_directory} . '/' . $file;
     my $handle = IO::File->new($html_file, '<');
 
     unless ($handle) {
@@ -244,7 +251,7 @@
     }
     seek $handle, 0, 0;
     $metadata->{html_content} = do { local $RS; <$handle> };
-    $metadata->{filename} = $options{file};
+    $metadata->{filename} = $file;
 
     return $metadata;
 }
--- a/usr/lib/cgi-bin/sympa/wwsympa.fcgi
+++ b/usr/lib/cgi-bin/sympa/wwsympa.fcgi
@@ -1003,13 +1003,6 @@
     'role' => 'member|editor|owner',
 );
 
-## Regexp applied on incoming parameters (%in)
-## This regular expression defines forbidden expressions applied on all
-## incoming parameters
-## Note that you can use the ^ and $ expressions to match beginning and ending
-## of expressions
-our %in_negative_regexp = ('arc_file' => '^(arctxt|\.)');
-
 # No longer used as of 6.2.19b.
 #my %filtering;
 
@@ -2089,13 +2082,6 @@
             $regexp = $in_regexp{'*'};
         }
 
-        my $negative_regexp;
-        if ($pname =~ /^additional_field/) {
-            $negative_regexp = $in_negative_regexp{'additional_field'};
-        } elsif ($in_negative_regexp{$pname}) {
-            $negative_regexp = $in_negative_regexp{$pname};
-        }
-
         # If we are editing an HTML file in the shared, allow HTML but prevent
         # XSS.
         if (   $pname eq 'content'
@@ -2113,9 +2099,7 @@
             }
         }
         foreach my $one_p (split /\0/, $in{$p}) {
-            if ($one_p !~ /^$regexp$/s
-                || (defined $negative_regexp && $one_p =~ /$negative_regexp/s)
-            ) {
+            unless ($one_p =~ /\A$regexp\z/s) {
                 add_stash('user', 'syntax_errors', {p_name => $p});
                 wwslog(
                     'err',
@@ -8486,16 +8470,12 @@
         $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     } else {
         $html_metadata = $archive->html_fetch(file => $in{'arc_file'});
+        $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     }
     unless ($html_metadata) {
+        print "Status: 404 Not Found\n";
         wwslog('err', 'Unable to read HTML message <%s>', $in{'arc_file'});
-        add_stash(
-            'user',
-            'month_not_found',
-            {   'arc_file' => $in{'arc_file'},
-                'month'    => $in{'month'},
-            }
-        );
+        add_stash('user', 'no_required_file');
         return undef;
     }


--7umlzqyfieaqzifj
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment; filename="sympa-6.2.76-debian13.patch"

--- a/usr/share/sympa/lib/Sympa/Archive.pm
+++ b/usr/share/sympa/lib/Sympa/Archive.pm
@@ -214,7 +214,14 @@
     return undef unless $self->{arc_directory};
     return undef unless $options{file};
 
-    my $html_file = $self->{arc_directory} . '/' . $options{file};
+    # Omit arctxt etc.
+    return undef
+        if grep { 0 == index $_, '.' or $_ eq 'arctxt' or $_ eq 'deleted' }
+        split m{/+}, $options{file};
+    # Remove extra slashes.
+    my $file = join '/', grep {length} split m{/+}, $options{file};
+
+    my $html_file = $self->{arc_directory} . '/' . $file;
     my $handle = IO::File->new($html_file, '<');
 
     unless ($handle) {
@@ -244,7 +251,7 @@
     }
     seek $handle, 0, 0;
     $metadata->{html_content} = do { local $RS; <$handle> };
-    $metadata->{filename} = $options{file};
+    $metadata->{filename} = $file;
 
     return $metadata;
 }
--- a/usr/lib/cgi-bin/sympa/wwsympa.fcgi
+++ b/usr/lib/cgi-bin/sympa/wwsympa.fcgi
@@ -955,13 +955,6 @@
     'role' => 'member|editor|owner',
 );
 
-## Regexp applied on incoming parameters (%in)
-## This regular expression defines forbidden expressions applied on all
-## incoming parameters
-## Note that you can use the ^ and $ expressions to match beginning and ending
-## of expressions
-our %in_negative_regexp = ('arc_file' => '^(arctxt|\.)');
-
 # No longer used as of 6.2.19b.
 #my %filtering;
 
@@ -2031,13 +2024,6 @@
             $regexp = $in_regexp{'*'};
         }
 
-        my $negative_regexp;
-        if ($pname =~ /^additional_field/) {
-            $negative_regexp = $in_negative_regexp{'additional_field'};
-        } elsif ($in_negative_regexp{$pname}) {
-            $negative_regexp = $in_negative_regexp{$pname};
-        }
-
         # If we are editing an HTML file in the shared, allow HTML but prevent
         # XSS.
         if (   $pname eq 'content'
@@ -2055,9 +2041,7 @@
             }
         }
         foreach my $one_p (split /\0/, $in{$p}) {
-            if ($one_p !~ /^$regexp$/s
-                || (defined $negative_regexp && $one_p =~ /$negative_regexp/s)
-            ) {
+            unless ($one_p =~ /\A$regexp\z/s) {
                 add_stash('user', 'syntax_errors', {p_name => $p});
                 wwslog(
                     'err',
@@ -8368,16 +8352,12 @@
         $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     } else {
         $html_metadata = $archive->html_fetch(file => $in{'arc_file'});
+        $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     }
     unless ($html_metadata) {
+        print "Status: 404 Not Found\n";
         wwslog('err', 'Unable to read HTML message <%s>', $in{'arc_file'});
-        add_stash(
-            'user',
-            'month_not_found',
-            {   'arc_file' => $in{'arc_file'},
-                'month'    => $in{'month'},
-            }
-        );
+        add_stash('user', 'no_required_file');
         return undef;
     }
 


--7umlzqyfieaqzifj--
Bug#1153297: sympa: diff for NMU version 6.2.76~dfsg-1.2
#2757
Author: Salvatore Bonaccorso
Date: Mon, 09 Nov 2026 17:30
170 lines
8388 bytes
--DoOJ9Wak3Yueh3zl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Control: tags 1153297 + pending


Dear maintainer,

I've prepared an NMU for sympa (versioned as 6.2.76~dfsg-1.2) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should cancel it.

Regards,
Salvatore

--DoOJ9Wak3Yueh3zl
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename=sympa-6.2.76~dfsg-1.2-nmu.diff

diffstat for sympa-6.2.76~dfsg sympa-6.2.76~dfsg

 changelog                                                          |    8 
 patches/WWSympa-arc-Deleted-or-raw-message-files-could-be-fe.patch |  116 ++++++++++
 patches/series                                                     |    1 
 3 files changed, 125 insertions(+)

diff -Nru sympa-6.2.76~dfsg/debian/changelog sympa-6.2.76~dfsg/debian/changelog
--- sympa-6.2.76~dfsg/debian/changelog	2026-06-07 07:23:12.000000000 +0200
+++ sympa-6.2.76~dfsg/debian/changelog	2026-11-09 17:04:32.000000000 +0100
@@ -1,3 +1,11 @@
+sympa (6.2.76~dfsg-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * WWSympa: arc: Deleted or raw message files could be fetched
+    (Closes: #1153297)
+
+ -- Salvatore Bonaccorso <carnil@debian.org>  Mon, 09 Nov 2026 17:04:32 +0100
+
 sympa (6.2.76~dfsg-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru sympa-6.2.76~dfsg/debian/patches/WWSympa-arc-Deleted-or-raw-message-files-could-be-fe.patch sympa-6.2.76~dfsg/debian/patches/WWSympa-arc-Deleted-or-raw-message-files-could-be-fe.patch
--- sympa-6.2.76~dfsg/debian/patches/WWSympa-arc-Deleted-or-raw-message-files-could-be-fe.patch	1970-01-01 01:00:00.000000000 +0100
+++ sympa-6.2.76~dfsg/debian/patches/WWSympa-arc-Deleted-or-raw-message-files-could-be-fe.patch	2026-11-09 17:03:35.000000000 +0100
@@ -0,0 +1,116 @@
+From: IKEDA Soji <mail@ikedas.net>
+Date: Wed, 12 Aug 2026 10:43:22 +0900
+Subject: WWSympa: arc: Deleted or raw message files could be fetched.
+Origin: https://github.com/sympa-community/sympa/commit/ceda6651ea2514386d9c828605b21b584ed26bed
+Bug-Debian: https://bugs.debian.org/1153297
+Bug: https://github.com/sympa-community/sympa/pull/2068
+
+---
+ src/cgi/wwsympa.fcgi.in  | 28 ++++------------------------
+ src/lib/Sympa/Archive.pm | 13 ++++++++++---
+ 2 files changed, 14 insertions(+), 27 deletions(-)
+
+diff --git a/src/cgi/wwsympa.fcgi.in b/src/cgi/wwsympa.fcgi.in
+index 65acc0b01baa..c697613fc2cd 100644
+--- a/src/cgi/wwsympa.fcgi.in
++++ b/src/cgi/wwsympa.fcgi.in
+@@ -1003,13 +1003,6 @@ our %in_regexp = (
+     'role' => 'member|editor|owner',
+ );
+ 
+-## Regexp applied on incoming parameters (%in)
+-## This regular expression defines forbidden expressions applied on all
+-## incoming parameters
+-## Note that you can use the ^ and $ expressions to match beginning and ending
+-## of expressions
+-our %in_negative_regexp = ('arc_file' => '^(arctxt|\.)');
+-
+ # No longer used as of 6.2.19b.
+ #my %filtering;
+ 
+@@ -2089,13 +2082,6 @@ sub get_parameters {
+             $regexp = $in_regexp{'*'};
+         }
+ 
+-        my $negative_regexp;
+-        if ($pname =~ /^additional_field/) {
+-            $negative_regexp = $in_negative_regexp{'additional_field'};
+-        } elsif ($in_negative_regexp{$pname}) {
+-            $negative_regexp = $in_negative_regexp{$pname};
+-        }
+-
+         # If we are editing an HTML file in the shared, allow HTML but prevent
+         # XSS.
+         if (   $pname eq 'content'
+@@ -2113,9 +2099,7 @@ sub get_parameters {
+             }
+         }
+         foreach my $one_p (split /\0/, $in{$p}) {
+-            if ($one_p !~ /^$regexp$/s
+-                || (defined $negative_regexp && $one_p =~ /$negative_regexp/s)
+-            ) {
++            unless ($one_p =~ /\A$regexp\z/s) {
+                 add_stash('user', 'syntax_errors', {p_name => $p});
+                 wwslog(
+                     'err',
+@@ -8471,16 +8455,12 @@ sub do_arc {
+         $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
+     } else {
+         $html_metadata = $archive->html_fetch(file => $in{'arc_file'});
++        $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
+     }
+     unless ($html_metadata) {
++        print "Status: 404 Not Found\n";
+         wwslog('err', 'Unable to read HTML message <%s>', $in{'arc_file'});
+-        add_stash(
+-            'user',
+-            'month_not_found',
+-            {   'arc_file' => $in{'arc_file'},
+-                'month'    => $in{'month'},
+-            }
+-        );
++        add_stash('user', 'no_required_file');
+         return undef;
+     }
+ 
+diff --git a/src/lib/Sympa/Archive.pm b/src/lib/Sympa/Archive.pm
+index 259da076f384..8feb06631659 100644
+--- a/src/lib/Sympa/Archive.pm
++++ b/src/lib/Sympa/Archive.pm
+@@ -8,7 +8,7 @@
+ # Copyright (c) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
+ # 2006, 2007, 2008, 2009, 2010, 2011 Comite Reseau des Universites
+ # Copyright (c) 2011, 2012, 2013, 2014, 2015, 2016, 2017 GIP RENATER
+-# Copyright 2018, 2019, 2020, 2021 The Sympa Community. See the
++# Copyright 2018, 2019, 2020, 2021, 2026 The Sympa Community. See the
+ # AUTHORS.md file at the top-level directory of this distribution and at
+ # <https://github.com/sympa-community/sympa.git>.
+ #
+@@ -214,7 +214,14 @@ sub html_fetch {
+     return undef unless $self->{arc_directory};
+     return undef unless $options{file};
+ 
+-    my $html_file = $self->{arc_directory} . '/' . $options{file};
++    # Omit arctxt etc.
++    return undef
++        if grep { 0 == index $_, '.' or $_ eq 'arctxt' or $_ eq 'deleted' }
++        split m{/+}, $options{file};
++    # Remove extra slashes.
++    my $file = join '/', grep {length} split m{/+}, $options{file};
++
++    my $html_file = $self->{arc_directory} . '/' . $file;
+     my $handle = IO::File->new($html_file, '<');
+ 
+     unless ($handle) {
+@@ -244,7 +251,7 @@ sub html_fetch {
+     }
+     seek $handle, 0, 0;
+     $metadata->{html_content} = do { local $RS; <$handle> };
+-    $metadata->{filename} = $options{file};
++    $metadata->{filename} = $file;
+ 
+     return $metadata;
+ }
+-- 
+2.55.0
+
diff -Nru sympa-6.2.76~dfsg/debian/patches/series sympa-6.2.76~dfsg/debian/patches/series
--- sympa-6.2.76~dfsg/debian/patches/series	2026-06-07 07:23:12.000000000 +0200
+++ sympa-6.2.76~dfsg/debian/patches/series	2026-11-09 17:03:41.000000000 +0100
@@ -1 +1,2 @@
 0001-make-gettext-up-to-date.patch
+WWSympa-arc-Deleted-or-raw-message-files-could-be-fe.patch

--DoOJ9Wak3Yueh3zl--
Processed: sympa: diff for NMU version 6.2.76~dfsg-1.2
#2758
Author: Debian Bug Tracking System
Date: Mon, 09 Nov 2026 17:30
11 lines
1891 bytes
Processing control commands:

> tags 1153297 + pending
Bug #1153297 [sympa] sympa: WWSympa: arc: Deleted or raw message files could be fetched
Added tag(s) pending.

-- 
1153297: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1153297
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
Bug#1153297: marked as done (sympa: WWSympa: arc: Deleted or raw message files could be fetched)
#2960
Author: Debian Bug Tracking System
Date: Wed, 11 Nov 2026 18:10
662 lines
26574 bytes
This is a multi-part message in MIME format...

------------=_1794420421-3888574-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Wed, 11 Nov 2026 18:04:54 +0000
with message-id <E1xRCgo-0000000DKIq-2UPJ@fasolo.debian.org>
and subject line Bug#1153297: fixed in sympa 6.2.76~dfsg-1.2
has caused the Debian Bug report #1153297,
regarding sympa: WWSympa: arc: Deleted or raw message files could be fetched
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


--=20
1153297: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1153297
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1794420421-3888574-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 6 Nov 2026 23:40:04 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-15.1 required=4.0 tests=BAYES_00,
	BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
	DKIM_VALID_EF,FOURLA,HAS_PACKAGE,SPF_HELO_NONE,SPF_PASS autolearn=ham
	autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 94; hammy, 150; neutral, 224; spammy,
	0. spammytokens: hammytokens:0.000-+--H*UA:NeoMutt,
	0.000-+--H*u:NeoMutt, 0.000-+--debian!, 0.000-+--Debian!,
	0.000-+--openpgp
Return-path: <reg@evolix.fr>
Received: from mx.evolix.fr ([31.170.9.129]:53374 helo=mx10.evolix.fr)
	by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_X25519__RSA_SHA512__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <reg@evolix.fr>)
	id 1xPTXP-001T3a-0o
	for submit@bugs.debian.org;
	Fri, 06 Nov 2026 23:40:04 +0000
Received: by mx10.evolix.fr (Postfix, from userid 2001)
	id 14FAD7F52A; Sat,  7 Nov 2026 00:31:23 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=evolix.fr; s=dkim2018;
	t=1794007883; bh=fM7F6+aeY8QInvbkpiefCcMLzswh6wLRQaI4NA67uS8=;
	h=Date:From:To:Subject;
	b=F7LvdfyIU/otA5WPYAUE8ukF5rxb9aZDPEiBilirn6fLl6+/etHgmfYwxbXnPzNRT
	 +mIlumaVDFtJ6PgmvgEgQ1WMUTOdU5k5fq5lxvtIrFyqARO7UWVAp7NzTbAiXT4TzK
	 Nfj8LBefFhZj4XVFnR9VkZ4CGbBR5XpfcVEXGnik=
Date: Sat, 7 Nov 2026 00:31:23 +0100
From: Gregory Colpart <reg@evolix.fr>
To: submit@bugs.debian.org
Subject: sympa: WWSympa: arc: Deleted or raw message files could be fetched
Message-ID: <20261107001109.APhiz2hi@hamtrap.sc420.evolix.net>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="7umlzqyfieaqzifj"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
User-Agent: NeoMutt/20170113 (1.7.2)
X-Greylist: delayed 515 seconds by postgrey-1.37 at buxtehude; Fri, 06 Nov 2026 23:40:03 UTC
Delivered-To: submit@bugs.debian.org


--7umlzqyfieaqzifj
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

Package: sympa
Severity: grave
Tags: fixed-upstream security patch

Hello,

A security vulnerability has been identified in WWSympa before version 6.2.80

Due to a flaw in how message file paths are handled in the archive
component (arc), unauthenticated or unauthorized users could
potentially fetch deleted or raw message files that should not be accessible.

This issue has been fixed upstream in 6.2.80 via:
https://github.com/sympa-community/sympa/pull/2068

There is no CVE identifier assigned yet, but we have been informed of
active exploitation / real-world attacks using this vulnerability.

This issue affects all current versions in Debian.

We have backported the upstream patch for Debian versions 10, 11, 12,
and 13. The corresponding patches are attached to this report.

Thanks for maintaining Sympa in Debian!

Regards,
-- 
Grégory Colpart - Gérant Evolix - Clé OpenPGP : 0x44975278B8612B5D
Evolix - Hébergement et Infogérance Open Source
Marseille (37 rue Guibal, Pôle Média, 13003) / Paris / Montréal
https://evolix.com | mastodon.evolix.org/@evolix | blog.evolix.com

--7umlzqyfieaqzifj
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment; filename="sympa-6.2.40-debian10.patch"

--- a/usr/share/sympa/lib/Sympa/Archive.pm
+++ b/usr/share/sympa/lib/Sympa/Archive.pm
@@ -212,8 +212,15 @@
     return undef unless $self->{arc_directory};
     return undef unless $options{file};
 
+    # Omit arctxt etc.
+    return undef
+        if grep { 0 == index $_, '.' or $_ eq 'arctxt' or $_ eq 'deleted' }
+        split m{/+}, $options{file};
+    # Remove extra slashes.
+    my $file = join '/', grep {length} split m{/+}, $options{file};
+
     my $handle =
-        IO::File->new($self->{arc_directory} . '/' . $options{file}, '<');
+        IO::File->new($self->{arc_directory} . '/' . $file, '<');
     return undef unless $handle;
 
     my $metadata = {};    # May be empty.
@@ -235,7 +242,7 @@
     }
     seek $handle, 0, 0;
     $metadata->{html_content} = do { local $RS; <$handle> };
-    $metadata->{filename} = $options{file};
+    $metadata->{filename} = $file;
 
     return $metadata;
 }
--- a/usr/lib/cgi-bin/sympa/wwsympa.fcgi
+++ b/usr/lib/cgi-bin/sympa/wwsympa.fcgi
+++ /usr/lib/cgi-bin/sympa/wwsympa.fcgi 2026-11-06 23:52:31.709276819 +0100
@@ -997,13 +997,6 @@
     'role' => 'member|editor|owner',
 );
 
-## Regexp applied on incoming parameters (%in)
-## This regular expression defines forbidden expressions applied on all
-## incoming parameters
-## Note that you can use the ^ and $ expressions to match beginning and ending
-## of expressions
-our %in_negative_regexp = ('arc_file' => '^(arctxt|\.)');
-
 # No longer used as of 6.2.19b.
 #my %filtering;
 
@@ -2158,13 +2151,6 @@
             $regexp = $in_regexp{'*'};
         }
 
-        my $negative_regexp;
-        if ($pname =~ /^additional_field/) {
-            $negative_regexp = $in_negative_regexp{'additional_field'};
-        } elsif ($in_negative_regexp{$pname}) {
-            $negative_regexp = $in_negative_regexp{$pname};
-        }
-
         # If we are editing an HTML file in the shared, allow HTML but prevent
         # XSS.
         if (   $pname eq 'content'
@@ -2182,9 +2168,7 @@
             }
         }
         foreach my $one_p (split /\0/, $in{$p}) {
-            if ($one_p !~ /^$regexp$/s
-                || (defined $negative_regexp && $one_p =~ /$negative_regexp/s)
-            ) {
+            unless ($one_p =~ /\A$regexp\z/s) {
                 Sympa::WWW::Report::reject_report_web('user', 'syntax_errors',
                     {p_name => $p},
                     '', '');
@@ -8731,16 +8715,15 @@
         $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     } else {
         $html_metadata = $archive->html_fetch(file => $in{'arc_file'});
+        $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     }
     unless ($html_metadata) {
+        print "Status: 404 Not Found\n";
         wwslog('err', 'Unable to read HTML message <%s>', $in{'arc_file'});
         Sympa::WWW::Report::reject_report_web(
             'user',
-            'arc_not_found',    #FIXME: Not implemented.
-            {   'arc_file' => $in{'arc_file'},
-                'month'    => $in{'month'},
-                'listname' => $param->{'list'}
-            },
+            'no_required_file',
+            {},
             $param->{'action'},
             $list,
             $param->{'user'}{'email'},

--7umlzqyfieaqzifj
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment; filename="sympa-6.2.60-debian11.patch"

--- a/usr/share/sympa/lib/Sympa/Archive.pm
+++ b/usr/share/sympa/lib/Sympa/Archive.pm
@@ -215,7 +215,14 @@
     return undef unless $self->{arc_directory};
     return undef unless $options{file};
 
-    my $html_file = $self->{arc_directory} . '/' . $options{file};
+    # Omit arctxt etc.
+    return undef
+        if grep { 0 == index $_, '.' or $_ eq 'arctxt' or $_ eq 'deleted' }
+        split m{/+}, $options{file};
+    # Remove extra slashes.
+    my $file = join '/', grep {length} split m{/+}, $options{file};
+
+    my $html_file = $self->{arc_directory} . '/' . $file;
     my $handle = IO::File->new($html_file, '<');
 
     unless ($handle) {
@@ -245,7 +252,7 @@
     }
     seek $handle, 0, 0;
     $metadata->{html_content} = do { local $RS; <$handle> };
-    $metadata->{filename} = $options{file};
+    $metadata->{filename} = $file;
 
     return $metadata;
 }
--- a/usr/lib/cgi-bin/sympa/wwsympa.fcgi
+++ b/usr/lib/cgi-bin/sympa/wwsympa.fcgi
@@ -997,13 +997,6 @@
     'role' => 'member|editor|owner',
 );
 
-## Regexp applied on incoming parameters (%in)
-## This regular expression defines forbidden expressions applied on all
-## incoming parameters
-## Note that you can use the ^ and $ expressions to match beginning and ending
-## of expressions
-our %in_negative_regexp = ('arc_file' => '^(arctxt|\.)');
-
 # No longer used as of 6.2.19b.
 #my %filtering;
 
@@ -2132,13 +2125,6 @@
             $regexp = $in_regexp{'*'};
         }
 
-        my $negative_regexp;
-        if ($pname =~ /^additional_field/) {
-            $negative_regexp = $in_negative_regexp{'additional_field'};
-        } elsif ($in_negative_regexp{$pname}) {
-            $negative_regexp = $in_negative_regexp{$pname};
-        }
-
         # If we are editing an HTML file in the shared, allow HTML but prevent
         # XSS.
         if (   $pname eq 'content'
@@ -2156,9 +2142,8 @@
             }
         }
         foreach my $one_p (split /\0/, $in{$p}) {
-            if ($one_p !~ /^$regexp$/s
-                || (defined $negative_regexp && $one_p =~ /$negative_regexp/s)
-            ) {
+            unless ($one_p =~ /\A$regexp\z/s) {
+
                 Sympa::WWW::Report::reject_report_web('user', 'syntax_errors',
                     {p_name => $p},
                     '', '');
@@ -8741,16 +8726,15 @@
         $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     } else {
         $html_metadata = $archive->html_fetch(file => $in{'arc_file'});
+        $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     }
     unless ($html_metadata) {
+        print "Status: 404 Not Found\n";
         wwslog('err', 'Unable to read HTML message <%s>', $in{'arc_file'});
         Sympa::WWW::Report::reject_report_web(
             'user',
-            'arc_not_found',    #FIXME: Not implemented.
-            {   'arc_file' => $in{'arc_file'},
-                'month'    => $in{'month'},
-                'listname' => $param->{'list'}
-            },
+            'no_required_file',
+            {},
             $param->{'action'},
             $list,
             $param->{'user'}{'email'},

--7umlzqyfieaqzifj
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment; filename="sympa-6.2.70-debian12.patch"

--- a/usr/share/sympa/lib/Sympa/Archive.pm
+++ b/usr/share/sympa/lib/Sympa/Archive.pm
@@ -214,7 +214,14 @@
     return undef unless $self->{arc_directory};
     return undef unless $options{file};
 
-    my $html_file = $self->{arc_directory} . '/' . $options{file};
+    # Omit arctxt etc.
+    return undef
+        if grep { 0 == index $_, '.' or $_ eq 'arctxt' or $_ eq 'deleted' }
+        split m{/+}, $options{file};
+    # Remove extra slashes.
+    my $file = join '/', grep {length} split m{/+}, $options{file};
+
+    my $html_file = $self->{arc_directory} . '/' . $file;
     my $handle = IO::File->new($html_file, '<');
 
     unless ($handle) {
@@ -244,7 +251,7 @@
     }
     seek $handle, 0, 0;
     $metadata->{html_content} = do { local $RS; <$handle> };
-    $metadata->{filename} = $options{file};
+    $metadata->{filename} = $file;
 
     return $metadata;
 }
--- a/usr/lib/cgi-bin/sympa/wwsympa.fcgi
+++ b/usr/lib/cgi-bin/sympa/wwsympa.fcgi
@@ -1003,13 +1003,6 @@
     'role' => 'member|editor|owner',
 );
 
-## Regexp applied on incoming parameters (%in)
-## This regular expression defines forbidden expressions applied on all
-## incoming parameters
-## Note that you can use the ^ and $ expressions to match beginning and ending
-## of expressions
-our %in_negative_regexp = ('arc_file' => '^(arctxt|\.)');
-
 # No longer used as of 6.2.19b.
 #my %filtering;
 
@@ -2089,13 +2082,6 @@
             $regexp = $in_regexp{'*'};
         }
 
-        my $negative_regexp;
-        if ($pname =~ /^additional_field/) {
-            $negative_regexp = $in_negative_regexp{'additional_field'};
-        } elsif ($in_negative_regexp{$pname}) {
-            $negative_regexp = $in_negative_regexp{$pname};
-        }
-
         # If we are editing an HTML file in the shared, allow HTML but prevent
         # XSS.
         if (   $pname eq 'content'
@@ -2113,9 +2099,7 @@
             }
         }
         foreach my $one_p (split /\0/, $in{$p}) {
-            if ($one_p !~ /^$regexp$/s
-                || (defined $negative_regexp && $one_p =~ /$negative_regexp/s)
-            ) {
+            unless ($one_p =~ /\A$regexp\z/s) {
                 add_stash('user', 'syntax_errors', {p_name => $p});
                 wwslog(
                     'err',
@@ -8486,16 +8470,12 @@
         $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     } else {
         $html_metadata = $archive->html_fetch(file => $in{'arc_file'});
+        $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     }
     unless ($html_metadata) {
+        print "Status: 404 Not Found\n";
         wwslog('err', 'Unable to read HTML message <%s>', $in{'arc_file'});
-        add_stash(
-            'user',
-            'month_not_found',
-            {   'arc_file' => $in{'arc_file'},
-                'month'    => $in{'month'},
-            }
-        );
+        add_stash('user', 'no_required_file');
         return undef;
     }


--7umlzqyfieaqzifj
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment; filename="sympa-6.2.76-debian13.patch"

--- a/usr/share/sympa/lib/Sympa/Archive.pm
+++ b/usr/share/sympa/lib/Sympa/Archive.pm
@@ -214,7 +214,14 @@
     return undef unless $self->{arc_directory};
     return undef unless $options{file};
 
-    my $html_file = $self->{arc_directory} . '/' . $options{file};
+    # Omit arctxt etc.
+    return undef
+        if grep { 0 == index $_, '.' or $_ eq 'arctxt' or $_ eq 'deleted' }
+        split m{/+}, $options{file};
+    # Remove extra slashes.
+    my $file = join '/', grep {length} split m{/+}, $options{file};
+
+    my $html_file = $self->{arc_directory} . '/' . $file;
     my $handle = IO::File->new($html_file, '<');
 
     unless ($handle) {
@@ -244,7 +251,7 @@
     }
     seek $handle, 0, 0;
     $metadata->{html_content} = do { local $RS; <$handle> };
-    $metadata->{filename} = $options{file};
+    $metadata->{filename} = $file;
 
     return $metadata;
 }
--- a/usr/lib/cgi-bin/sympa/wwsympa.fcgi
+++ b/usr/lib/cgi-bin/sympa/wwsympa.fcgi
@@ -955,13 +955,6 @@
     'role' => 'member|editor|owner',
 );
 
-## Regexp applied on incoming parameters (%in)
-## This regular expression defines forbidden expressions applied on all
-## incoming parameters
-## Note that you can use the ^ and $ expressions to match beginning and ending
-## of expressions
-our %in_negative_regexp = ('arc_file' => '^(arctxt|\.)');
-
 # No longer used as of 6.2.19b.
 #my %filtering;
 
@@ -2031,13 +2024,6 @@
             $regexp = $in_regexp{'*'};
         }
 
-        my $negative_regexp;
-        if ($pname =~ /^additional_field/) {
-            $negative_regexp = $in_negative_regexp{'additional_field'};
-        } elsif ($in_negative_regexp{$pname}) {
-            $negative_regexp = $in_negative_regexp{$pname};
-        }
-
         # If we are editing an HTML file in the shared, allow HTML but prevent
         # XSS.
         if (   $pname eq 'content'
@@ -2055,9 +2041,7 @@
             }
         }
         foreach my $one_p (split /\0/, $in{$p}) {
-            if ($one_p !~ /^$regexp$/s
-                || (defined $negative_regexp && $one_p =~ /$negative_regexp/s)
-            ) {
+            unless ($one_p =~ /\A$regexp\z/s) {
                 add_stash('user', 'syntax_errors', {p_name => $p});
                 wwslog(
                     'err',
@@ -8368,16 +8352,12 @@
         $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     } else {
         $html_metadata = $archive->html_fetch(file => $in{'arc_file'});
+        $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     }
     unless ($html_metadata) {
+        print "Status: 404 Not Found\n";
         wwslog('err', 'Unable to read HTML message <%s>', $in{'arc_file'});
-        add_stash(
-            'user',
-            'month_not_found',
-            {   'arc_file' => $in{'arc_file'},
-                'month'    => $in{'month'},
-            }
-        );
+        add_stash('user', 'no_required_file');
         return undef;
     }
 


--7umlzqyfieaqzifj--

------------=_1794420421-3888574-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1153297-close) by bugs.debian.org; 11 Nov 2026 18:04:57 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-113.7 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FVGT_m_MULTI_ODD,
	HAS_BUG_NUMBER,MD5_SHA1_SUM,PDS_BTC_ID,PGPSIGNATURE,SPF_HELO_PASS,
	SPF_PASS,USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 86; hammy, 150; neutral, 134; spammy,
	0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
	0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
	0.000-+--UD:debian.tar.xz, 0.000-+--H*r:sk:fasolo.
Return-path: <envelope@ftp-master.debian.org>
Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:50826)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xRCgq-00GJNn-2e
	for 1153297-close@bugs.debian.org;
	Wed, 11 Nov 2026 18:04:57 +0000
Received: via submission
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
	by mailly.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xRCgp-000afl-1S
	for 1153297-close@bugs.debian.org;
	Wed, 11 Nov 2026 18:04:55 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
	Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
	:Content-Description:In-Reply-To:References;
	bh=b0uMzh03VwYZSTzPEgKnqsiTl5bvtjzJoUmfKxLfHog=; b=K7R7GzAj/0ebZIi2ei5WvkJGjB
	bGmA1MCAu2e9QxhL1dtba6LfspaIqyzs9aT2pKko1pNrGDPDwZ3PX/topzx8J8RC93luNXPcZBp+M
	8v/a9KOA+mSgfcEaWvQaGtm/pdS7/cHxvpOpMS2hP02tIcRw1/TD4w6yMATvPDgou18PX/wjVAhgF
	pnjBASLnAk/CcLD+Zagi3JJZz+GirVb/iLFC4x+xLTmKgFv9IDi1afm42oCQt+ZpoZqrUX9BEaflC
	wO+kguF9RWsUWdXxIhesGT9QF4OCHcOepVGNE4AHMBNWuq6npwM/DLE1dc5jaMiwwbKPFmqi4hX5B
	UEBnBNVQ==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xRCgo-0000000DKIq-2UPJ;
	Wed, 11 Nov 2026 18:04:54 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Salvatore Bonaccorso <carnil@debian.org>
To: 1153297-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: sympa
Debian: DAK
Debian-Changes: sympa_6.2.76~dfsg-1.2_source.changes
Debian-Source: sympa
Debian-Version: 6.2.76~dfsg-1.2
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1153297: fixed in sympa 6.2.76~dfsg-1.2
Content-Type: multipart/signed; micalg="pgp-sha256";
 protocol="application/pgp-signature";
 boundary="===============1801688174511782637=="
Message-Id: <E1xRCgo-0000000DKIq-2UPJ@fasolo.debian.org>
Date: Wed, 11 Nov 2026 18:04:54 +0000

--===============1801688174511782637==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Source: sympa
Source-Version: 6.2.76~dfsg-1.2
Done: Salvatore Bonaccorso <carnil@debian.org>

We believe that the bug you reported is fixed in the latest version of
sympa, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1153297@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Salvatore Bonaccorso <carnil@debian.org> (supplier of updated sympa package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 09 Nov 2026 17:04:32 +0100
Source: sympa
Architecture: source
Version: 6.2.76~dfsg-1.2
Distribution: unstable
Urgency: medium
Maintainer: Debian Sympa team <sympa@packages.debian.org>
Changed-By: Salvatore Bonaccorso <carnil@debian.org>
Closes: 1153297
Changes:
 sympa (6.2.76~dfsg-1.2) unstable; urgency=3Dmedium
 .
   * Non-maintainer upload.
   * WWSympa: arc: Deleted or raw message files could be fetched
     (Closes: #1153297)
Checksums-Sha1:
 6d21fd2022a2e80670aeaaff403664b7e9a25af3 2728 sympa_6.2.76~dfsg-1.2.dsc
 66293dfb9ab752d6d0904eac4185c52129188293 170648 sympa_6.2.76~dfsg-1.2.debian=
.tar.xz
 4c9739a9e444b3ded89d2840b64c2613ce45453a 7859 sympa_6.2.76~dfsg-1.2_source.b=
uildinfo
Checksums-Sha256:
 c0a27f9eeed66794e445bfd16cd116008ce9698330d7d54b655a6935f0bc1408 2728 sympa_=
6.2.76~dfsg-1.2.dsc
 2e90976d2113c164a13bea6bb63053aab99b29de934a5161e9a8d451c498d13b 170648 symp=
a_6.2.76~dfsg-1.2.debian.tar.xz
 aa19f72b12421eb211a83f8b30d628e940612de8e53284c27d40ce90d3b7e159 7859 sympa_=
6.2.76~dfsg-1.2_source.buildinfo
Files:
 c1b21ad9220c7493629d952e0d1bea05 2728 mail optional sympa_6.2.76~dfsg-1.2.dsc
 417d09597c6aa1d56117de9d9e0160e4 170648 mail optional sympa_6.2.76~dfsg-1.2.=
debian.tar.xz
 19162d6cd4c79c5117ca92f9652ccd12 7859 mail optional sympa_6.2.76~dfsg-1.2_so=
urce.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKmBAEBCgCQFiEERkRAmAjBceBVMd3uBUy48xNDz0QFAmryAg5fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQ2
NDQ0MDk4MDhDMTcxRTA1NTMxRERFRTA1NENCOEYzMTM0M0NGNDQSHGNhcm5pbEBk
ZWJpYW4ub3JnAAoJEAVMuPMTQ89E7rMP/iOXZJFWoEqYu6/Ko/KPPYqqnFtZmgEr
oK0dO0+lTK8viFDO89+lXphI8Xdy74CBwhvHKDpOVdJlpztJGeM1IG1BCLz5ytcQ
TjGYKMDTgFdYddA+ObnKtI96k36becAM04nkbjAaKY5vXldXprfPiAKkZp/oPJ0T
HYTGO6FCBEOzTRGNkCbQtMytF6YGwPDv3gs9UFhQFttdxQQtO1/6AXKoHreRZnkG
ZDnoncMQOwPM8Cl6NjZQPcsg5ymbinBXowhvYPUTs81FQCjyZ1bTD/h9g+SHXmFZ
+PuEVz/HqufZPebsGY0C1swi3ZMd6cpGLYK22iBFtCOgjN9p1elfYILX/Dhghpel
D9Jrrnrx9Y/abW/cdh6ejOmZiCvSjP5gyRCKEtzKnISectW3pAocynCrBHkigrbB
u0MZ2cnpjsXiqFF359/SokIB0rIpnhSBwN9ScUlSdJlehYfkjKI7kGNzbvv70wsH
NmB12dA0SlLD0sNVLQR1sCPOynD8OJLm175XFPoXd+Crx9DYnQ/r4icQ3kxA0S5e
kKu+81m/1Ri42/RYaWkTNgLvZGH2SKgwu9KmMEKQNDBGk3z2ENfyP15LAjz6Lnys
XrKd/5VuscYYe6tBP2Oddc0gB1JvduOsTYyZvqouAEaqufC1g28rSckfkpIHhzAY
yTC3kPyP/9pl
=3DjSG4
-----END PGP SIGNATURE-----


--===============1801688174511782637==
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCavSuRgAKCRCb9qggYcy5
IaQnAP937Gqy2IsIXfV860YPfkm5sCS59O/FF1ii0CsYLWxGQgD+LpqBZ814AE8Z
XNELc1z0IOniZqPyr5TKfzVQOj7ApwQ=
=5Kxg
-----END PGP SIGNATURE-----

--===============1801688174511782637==--
------------=_1794420421-3888574-0--
Bug#1153297: marked as done (sympa: WWSympa: arc: Deleted or raw message files could be fetched)
#3084
Author: Debian Bug Tracking System
Date: Fri, 13 Nov 2026 16:40
669 lines
26904 bytes
This is a multi-part message in MIME format...

------------=_1794587582-1380393-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Fri, 13 Nov 2026 16:32:45 +0000
with message-id <E1xRuCj-000000041vj-0j2k@fasolo.debian.org>
and subject line Bug#1153297: fixed in sympa 6.2.76~dfsg-1+deb13u1
has caused the Debian Bug report #1153297,
regarding sympa: WWSympa: arc: Deleted or raw message files could be fetched
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


--=20
1153297: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1153297
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1794587582-1380393-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 6 Nov 2026 23:40:04 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-15.1 required=4.0 tests=BAYES_00,
	BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
	DKIM_VALID_EF,FOURLA,HAS_PACKAGE,SPF_HELO_NONE,SPF_PASS autolearn=ham
	autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 94; hammy, 150; neutral, 224; spammy,
	0. spammytokens: hammytokens:0.000-+--H*UA:NeoMutt,
	0.000-+--H*u:NeoMutt, 0.000-+--debian!, 0.000-+--Debian!,
	0.000-+--openpgp
Return-path: <reg@evolix.fr>
Received: from mx.evolix.fr ([31.170.9.129]:53374 helo=mx10.evolix.fr)
	by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_X25519__RSA_SHA512__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <reg@evolix.fr>)
	id 1xPTXP-001T3a-0o
	for submit@bugs.debian.org;
	Fri, 06 Nov 2026 23:40:04 +0000
Received: by mx10.evolix.fr (Postfix, from userid 2001)
	id 14FAD7F52A; Sat,  7 Nov 2026 00:31:23 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=evolix.fr; s=dkim2018;
	t=1794007883; bh=fM7F6+aeY8QInvbkpiefCcMLzswh6wLRQaI4NA67uS8=;
	h=Date:From:To:Subject;
	b=F7LvdfyIU/otA5WPYAUE8ukF5rxb9aZDPEiBilirn6fLl6+/etHgmfYwxbXnPzNRT
	 +mIlumaVDFtJ6PgmvgEgQ1WMUTOdU5k5fq5lxvtIrFyqARO7UWVAp7NzTbAiXT4TzK
	 Nfj8LBefFhZj4XVFnR9VkZ4CGbBR5XpfcVEXGnik=
Date: Sat, 7 Nov 2026 00:31:23 +0100
From: Gregory Colpart <reg@evolix.fr>
To: submit@bugs.debian.org
Subject: sympa: WWSympa: arc: Deleted or raw message files could be fetched
Message-ID: <20261107001109.APhiz2hi@hamtrap.sc420.evolix.net>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="7umlzqyfieaqzifj"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
User-Agent: NeoMutt/20170113 (1.7.2)
X-Greylist: delayed 515 seconds by postgrey-1.37 at buxtehude; Fri, 06 Nov 2026 23:40:03 UTC
Delivered-To: submit@bugs.debian.org


--7umlzqyfieaqzifj
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

Package: sympa
Severity: grave
Tags: fixed-upstream security patch

Hello,

A security vulnerability has been identified in WWSympa before version 6.2.80

Due to a flaw in how message file paths are handled in the archive
component (arc), unauthenticated or unauthorized users could
potentially fetch deleted or raw message files that should not be accessible.

This issue has been fixed upstream in 6.2.80 via:
https://github.com/sympa-community/sympa/pull/2068

There is no CVE identifier assigned yet, but we have been informed of
active exploitation / real-world attacks using this vulnerability.

This issue affects all current versions in Debian.

We have backported the upstream patch for Debian versions 10, 11, 12,
and 13. The corresponding patches are attached to this report.

Thanks for maintaining Sympa in Debian!

Regards,
-- 
Grégory Colpart - Gérant Evolix - Clé OpenPGP : 0x44975278B8612B5D
Evolix - Hébergement et Infogérance Open Source
Marseille (37 rue Guibal, Pôle Média, 13003) / Paris / Montréal
https://evolix.com | mastodon.evolix.org/@evolix | blog.evolix.com

--7umlzqyfieaqzifj
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment; filename="sympa-6.2.40-debian10.patch"

--- a/usr/share/sympa/lib/Sympa/Archive.pm
+++ b/usr/share/sympa/lib/Sympa/Archive.pm
@@ -212,8 +212,15 @@
     return undef unless $self->{arc_directory};
     return undef unless $options{file};
 
+    # Omit arctxt etc.
+    return undef
+        if grep { 0 == index $_, '.' or $_ eq 'arctxt' or $_ eq 'deleted' }
+        split m{/+}, $options{file};
+    # Remove extra slashes.
+    my $file = join '/', grep {length} split m{/+}, $options{file};
+
     my $handle =
-        IO::File->new($self->{arc_directory} . '/' . $options{file}, '<');
+        IO::File->new($self->{arc_directory} . '/' . $file, '<');
     return undef unless $handle;
 
     my $metadata = {};    # May be empty.
@@ -235,7 +242,7 @@
     }
     seek $handle, 0, 0;
     $metadata->{html_content} = do { local $RS; <$handle> };
-    $metadata->{filename} = $options{file};
+    $metadata->{filename} = $file;
 
     return $metadata;
 }
--- a/usr/lib/cgi-bin/sympa/wwsympa.fcgi
+++ b/usr/lib/cgi-bin/sympa/wwsympa.fcgi
+++ /usr/lib/cgi-bin/sympa/wwsympa.fcgi 2026-11-06 23:52:31.709276819 +0100
@@ -997,13 +997,6 @@
     'role' => 'member|editor|owner',
 );
 
-## Regexp applied on incoming parameters (%in)
-## This regular expression defines forbidden expressions applied on all
-## incoming parameters
-## Note that you can use the ^ and $ expressions to match beginning and ending
-## of expressions
-our %in_negative_regexp = ('arc_file' => '^(arctxt|\.)');
-
 # No longer used as of 6.2.19b.
 #my %filtering;
 
@@ -2158,13 +2151,6 @@
             $regexp = $in_regexp{'*'};
         }
 
-        my $negative_regexp;
-        if ($pname =~ /^additional_field/) {
-            $negative_regexp = $in_negative_regexp{'additional_field'};
-        } elsif ($in_negative_regexp{$pname}) {
-            $negative_regexp = $in_negative_regexp{$pname};
-        }
-
         # If we are editing an HTML file in the shared, allow HTML but prevent
         # XSS.
         if (   $pname eq 'content'
@@ -2182,9 +2168,7 @@
             }
         }
         foreach my $one_p (split /\0/, $in{$p}) {
-            if ($one_p !~ /^$regexp$/s
-                || (defined $negative_regexp && $one_p =~ /$negative_regexp/s)
-            ) {
+            unless ($one_p =~ /\A$regexp\z/s) {
                 Sympa::WWW::Report::reject_report_web('user', 'syntax_errors',
                     {p_name => $p},
                     '', '');
@@ -8731,16 +8715,15 @@
         $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     } else {
         $html_metadata = $archive->html_fetch(file => $in{'arc_file'});
+        $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     }
     unless ($html_metadata) {
+        print "Status: 404 Not Found\n";
         wwslog('err', 'Unable to read HTML message <%s>', $in{'arc_file'});
         Sympa::WWW::Report::reject_report_web(
             'user',
-            'arc_not_found',    #FIXME: Not implemented.
-            {   'arc_file' => $in{'arc_file'},
-                'month'    => $in{'month'},
-                'listname' => $param->{'list'}
-            },
+            'no_required_file',
+            {},
             $param->{'action'},
             $list,
             $param->{'user'}{'email'},

--7umlzqyfieaqzifj
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment; filename="sympa-6.2.60-debian11.patch"

--- a/usr/share/sympa/lib/Sympa/Archive.pm
+++ b/usr/share/sympa/lib/Sympa/Archive.pm
@@ -215,7 +215,14 @@
     return undef unless $self->{arc_directory};
     return undef unless $options{file};
 
-    my $html_file = $self->{arc_directory} . '/' . $options{file};
+    # Omit arctxt etc.
+    return undef
+        if grep { 0 == index $_, '.' or $_ eq 'arctxt' or $_ eq 'deleted' }
+        split m{/+}, $options{file};
+    # Remove extra slashes.
+    my $file = join '/', grep {length} split m{/+}, $options{file};
+
+    my $html_file = $self->{arc_directory} . '/' . $file;
     my $handle = IO::File->new($html_file, '<');
 
     unless ($handle) {
@@ -245,7 +252,7 @@
     }
     seek $handle, 0, 0;
     $metadata->{html_content} = do { local $RS; <$handle> };
-    $metadata->{filename} = $options{file};
+    $metadata->{filename} = $file;
 
     return $metadata;
 }
--- a/usr/lib/cgi-bin/sympa/wwsympa.fcgi
+++ b/usr/lib/cgi-bin/sympa/wwsympa.fcgi
@@ -997,13 +997,6 @@
     'role' => 'member|editor|owner',
 );
 
-## Regexp applied on incoming parameters (%in)
-## This regular expression defines forbidden expressions applied on all
-## incoming parameters
-## Note that you can use the ^ and $ expressions to match beginning and ending
-## of expressions
-our %in_negative_regexp = ('arc_file' => '^(arctxt|\.)');
-
 # No longer used as of 6.2.19b.
 #my %filtering;
 
@@ -2132,13 +2125,6 @@
             $regexp = $in_regexp{'*'};
         }
 
-        my $negative_regexp;
-        if ($pname =~ /^additional_field/) {
-            $negative_regexp = $in_negative_regexp{'additional_field'};
-        } elsif ($in_negative_regexp{$pname}) {
-            $negative_regexp = $in_negative_regexp{$pname};
-        }
-
         # If we are editing an HTML file in the shared, allow HTML but prevent
         # XSS.
         if (   $pname eq 'content'
@@ -2156,9 +2142,8 @@
             }
         }
         foreach my $one_p (split /\0/, $in{$p}) {
-            if ($one_p !~ /^$regexp$/s
-                || (defined $negative_regexp && $one_p =~ /$negative_regexp/s)
-            ) {
+            unless ($one_p =~ /\A$regexp\z/s) {
+
                 Sympa::WWW::Report::reject_report_web('user', 'syntax_errors',
                     {p_name => $p},
                     '', '');
@@ -8741,16 +8726,15 @@
         $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     } else {
         $html_metadata = $archive->html_fetch(file => $in{'arc_file'});
+        $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     }
     unless ($html_metadata) {
+        print "Status: 404 Not Found\n";
         wwslog('err', 'Unable to read HTML message <%s>', $in{'arc_file'});
         Sympa::WWW::Report::reject_report_web(
             'user',
-            'arc_not_found',    #FIXME: Not implemented.
-            {   'arc_file' => $in{'arc_file'},
-                'month'    => $in{'month'},
-                'listname' => $param->{'list'}
-            },
+            'no_required_file',
+            {},
             $param->{'action'},
             $list,
             $param->{'user'}{'email'},

--7umlzqyfieaqzifj
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment; filename="sympa-6.2.70-debian12.patch"

--- a/usr/share/sympa/lib/Sympa/Archive.pm
+++ b/usr/share/sympa/lib/Sympa/Archive.pm
@@ -214,7 +214,14 @@
     return undef unless $self->{arc_directory};
     return undef unless $options{file};
 
-    my $html_file = $self->{arc_directory} . '/' . $options{file};
+    # Omit arctxt etc.
+    return undef
+        if grep { 0 == index $_, '.' or $_ eq 'arctxt' or $_ eq 'deleted' }
+        split m{/+}, $options{file};
+    # Remove extra slashes.
+    my $file = join '/', grep {length} split m{/+}, $options{file};
+
+    my $html_file = $self->{arc_directory} . '/' . $file;
     my $handle = IO::File->new($html_file, '<');
 
     unless ($handle) {
@@ -244,7 +251,7 @@
     }
     seek $handle, 0, 0;
     $metadata->{html_content} = do { local $RS; <$handle> };
-    $metadata->{filename} = $options{file};
+    $metadata->{filename} = $file;
 
     return $metadata;
 }
--- a/usr/lib/cgi-bin/sympa/wwsympa.fcgi
+++ b/usr/lib/cgi-bin/sympa/wwsympa.fcgi
@@ -1003,13 +1003,6 @@
     'role' => 'member|editor|owner',
 );
 
-## Regexp applied on incoming parameters (%in)
-## This regular expression defines forbidden expressions applied on all
-## incoming parameters
-## Note that you can use the ^ and $ expressions to match beginning and ending
-## of expressions
-our %in_negative_regexp = ('arc_file' => '^(arctxt|\.)');
-
 # No longer used as of 6.2.19b.
 #my %filtering;
 
@@ -2089,13 +2082,6 @@
             $regexp = $in_regexp{'*'};
         }
 
-        my $negative_regexp;
-        if ($pname =~ /^additional_field/) {
-            $negative_regexp = $in_negative_regexp{'additional_field'};
-        } elsif ($in_negative_regexp{$pname}) {
-            $negative_regexp = $in_negative_regexp{$pname};
-        }
-
         # If we are editing an HTML file in the shared, allow HTML but prevent
         # XSS.
         if (   $pname eq 'content'
@@ -2113,9 +2099,7 @@
             }
         }
         foreach my $one_p (split /\0/, $in{$p}) {
-            if ($one_p !~ /^$regexp$/s
-                || (defined $negative_regexp && $one_p =~ /$negative_regexp/s)
-            ) {
+            unless ($one_p =~ /\A$regexp\z/s) {
                 add_stash('user', 'syntax_errors', {p_name => $p});
                 wwslog(
                     'err',
@@ -8486,16 +8470,12 @@
         $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     } else {
         $html_metadata = $archive->html_fetch(file => $in{'arc_file'});
+        $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     }
     unless ($html_metadata) {
+        print "Status: 404 Not Found\n";
         wwslog('err', 'Unable to read HTML message <%s>', $in{'arc_file'});
-        add_stash(
-            'user',
-            'month_not_found',
-            {   'arc_file' => $in{'arc_file'},
-                'month'    => $in{'month'},
-            }
-        );
+        add_stash('user', 'no_required_file');
         return undef;
     }


--7umlzqyfieaqzifj
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment; filename="sympa-6.2.76-debian13.patch"

--- a/usr/share/sympa/lib/Sympa/Archive.pm
+++ b/usr/share/sympa/lib/Sympa/Archive.pm
@@ -214,7 +214,14 @@
     return undef unless $self->{arc_directory};
     return undef unless $options{file};
 
-    my $html_file = $self->{arc_directory} . '/' . $options{file};
+    # Omit arctxt etc.
+    return undef
+        if grep { 0 == index $_, '.' or $_ eq 'arctxt' or $_ eq 'deleted' }
+        split m{/+}, $options{file};
+    # Remove extra slashes.
+    my $file = join '/', grep {length} split m{/+}, $options{file};
+
+    my $html_file = $self->{arc_directory} . '/' . $file;
     my $handle = IO::File->new($html_file, '<');
 
     unless ($handle) {
@@ -244,7 +251,7 @@
     }
     seek $handle, 0, 0;
     $metadata->{html_content} = do { local $RS; <$handle> };
-    $metadata->{filename} = $options{file};
+    $metadata->{filename} = $file;
 
     return $metadata;
 }
--- a/usr/lib/cgi-bin/sympa/wwsympa.fcgi
+++ b/usr/lib/cgi-bin/sympa/wwsympa.fcgi
@@ -955,13 +955,6 @@
     'role' => 'member|editor|owner',
 );
 
-## Regexp applied on incoming parameters (%in)
-## This regular expression defines forbidden expressions applied on all
-## incoming parameters
-## Note that you can use the ^ and $ expressions to match beginning and ending
-## of expressions
-our %in_negative_regexp = ('arc_file' => '^(arctxt|\.)');
-
 # No longer used as of 6.2.19b.
 #my %filtering;
 
@@ -2031,13 +2024,6 @@
             $regexp = $in_regexp{'*'};
         }
 
-        my $negative_regexp;
-        if ($pname =~ /^additional_field/) {
-            $negative_regexp = $in_negative_regexp{'additional_field'};
-        } elsif ($in_negative_regexp{$pname}) {
-            $negative_regexp = $in_negative_regexp{$pname};
-        }
-
         # If we are editing an HTML file in the shared, allow HTML but prevent
         # XSS.
         if (   $pname eq 'content'
@@ -2055,9 +2041,7 @@
             }
         }
         foreach my $one_p (split /\0/, $in{$p}) {
-            if ($one_p !~ /^$regexp$/s
-                || (defined $negative_regexp && $one_p =~ /$negative_regexp/s)
-            ) {
+            unless ($one_p =~ /\A$regexp\z/s) {
                 add_stash('user', 'syntax_errors', {p_name => $p});
                 wwslog(
                     'err',
@@ -8368,16 +8352,12 @@
         $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     } else {
         $html_metadata = $archive->html_fetch(file => $in{'arc_file'});
+        $in{'arc_file'} = $html_metadata->{filename} if $html_metadata;
     }
     unless ($html_metadata) {
+        print "Status: 404 Not Found\n";
         wwslog('err', 'Unable to read HTML message <%s>', $in{'arc_file'});
-        add_stash(
-            'user',
-            'month_not_found',
-            {   'arc_file' => $in{'arc_file'},
-                'month'    => $in{'month'},
-            }
-        );
+        add_stash('user', 'no_required_file');
         return undef;
     }
 


--7umlzqyfieaqzifj--

------------=_1794587582-1380393-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1153297-close) by bugs.debian.org; 13 Nov 2026 16:32:48 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-114.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FVGT_m_MULTI_ODD,
	HAS_BUG_NUMBER,MD5_SHA1_SUM,PGPSIGNATURE,SPF_HELO_PASS,SPF_PASS,
	USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 79; hammy, 150; neutral, 145; spammy,
	0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
	0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--UD:debian.tar.xz,
	0.000-+--H*r:sk:fasolo., 0.000-+--H*MI:fasolo
Return-path: <envelope@ftp-master.debian.org>
Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:52032)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xRuCl-005n4Q-36
	for 1153297-close@bugs.debian.org;
	Fri, 13 Nov 2026 16:32:47 +0000
Received: via submission
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
	by mailly.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xRuCj-002jwk-3A
	for 1153297-close@bugs.debian.org;
	Fri, 13 Nov 2026 16:32:45 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
	Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
	:Content-Description:In-Reply-To:References;
	bh=y/hOLjlZZMrvjBFJ8rxZPDAcKHCKDWv1pC+Qts9hLkE=; b=VWRQbT+2ABgBvVc7sZXdPKSbGI
	W3C9OY3l4gH3bfKRbPo+DMKES1Rvki9Gmr9KvZRSkM0eA44rAwIV5gVkUTkzK9Rth40OBpp5G05q2
	SPzJZZLRohikqOZzWSFk3mXlcGSpd75WV71JJGRvl5gPLtIx8pgyqwFSQVVcwvH622WZjlseZQNC4
	dFuzrp5MNkqP85H8iiz0orC75NR36QNU6pR18FVrufPFUbf7PN6k2pM0fMl2XrnR+4w67BCPH+skl
	sFmNH7ssOod/lsVELBsvw1ZUfnxMeuYOmqhzPym8PRWsCVN4pBRqUklindCBd0zZJnSLrPaeK1x6x
	ve+IcbzA==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xRuCj-000000041vj-0j2k;
	Fri, 13 Nov 2026 16:32:45 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Salvatore Bonaccorso <carnil@debian.org>
To: 1153297-close@bugs.debian.org
X-DAK: dak process-policy
X-Debian: DAK
X-Debian-Package: sympa
Debian: DAK
Debian-Changes: sympa_6.2.76~dfsg-1+deb13u1_source.changes
Debian-Source: sympa
Debian-Version: 6.2.76~dfsg-1+deb13u1
Debian-Architecture: source
Debian-Suite: proposed-updates
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1153297: fixed in sympa 6.2.76~dfsg-1+deb13u1
Content-Type: multipart/signed; micalg="pgp-sha256";
 protocol="application/pgp-signature";
 boundary="===============4476910113525572764=="
Message-Id: <E1xRuCj-000000041vj-0j2k@fasolo.debian.org>
Date: Fri, 13 Nov 2026 16:32:45 +0000

--===============4476910113525572764==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Source: sympa
Source-Version: 6.2.76~dfsg-1+deb13u1
Done: Salvatore Bonaccorso <carnil@debian.org>

We believe that the bug you reported is fixed in the latest version of
sympa, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1153297@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Salvatore Bonaccorso <carnil@debian.org> (supplier of updated sympa package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 09 Nov 2026 17:11:03 +0100
Source: sympa
Architecture: source
Version: 6.2.76~dfsg-1+deb13u1
Distribution: trixie-security
Urgency: high
Maintainer: Debian Sympa team <sympa@packages.debian.org>
Changed-By: Salvatore Bonaccorso <carnil@debian.org>
Closes: 1153297
Changes:
 sympa (6.2.76~dfsg-1+deb13u1) trixie-security; urgency=3Dhigh
 .
   * Non-maintainer upload by the Security Team.
   * WWSympa: arc: Deleted or raw message files could be fetched
     (Closes: #1153297)
Checksums-Sha1:
 0172dfa635fce42145bb30e73c8ce77e1fedc220 2752 sympa_6.2.76~dfsg-1+deb13u1.dsc
 d330f38cce051c3748211530e58617ec692297b3 3864188 sympa_6.2.76~dfsg.orig.tar.=
xz
 f9b458a27d2d05f077ea83d491d4e2dc25c134c1 165432 sympa_6.2.76~dfsg-1+deb13u1.=
debian.tar.xz
 9cd2263fd6b45ee454855013a039db53fb6c0aa1 7883 sympa_6.2.76~dfsg-1+deb13u1_so=
urce.buildinfo
Checksums-Sha256:
 121f6e6b4b01620ffe67dd5e217666c5a223af10dfb77be98e1ca66bd53f9f50 2752 sympa_=
6.2.76~dfsg-1+deb13u1.dsc
 fcce68331f24cf9f8ec316b479b7fc9303759266be71bcec63545f9786df57ce 3864188 sym=
pa_6.2.76~dfsg.orig.tar.xz
 7f9964a3f29f53a2a547f4a8b6d49a3b4d7cb3ffc79c8cbdd4b275f3010e564d 165432 symp=
a_6.2.76~dfsg-1+deb13u1.debian.tar.xz
 849019eb7c14f91e3c50ac4e1d322d8527c5f69f4b537ec4b2796f6f8ca60b40 7883 sympa_=
6.2.76~dfsg-1+deb13u1_source.buildinfo
Files:
 b0d21cc8da34d86a1ec12e805e92659b 2752 mail optional sympa_6.2.76~dfsg-1+deb1=
3u1.dsc
 7d909ce93274633140e3096eb15b0134 3864188 mail optional sympa_6.2.76~dfsg.ori=
g.tar.xz
 42baf6e80709263c5f012b3f4eb1e874 165432 mail optional sympa_6.2.76~dfsg-1+de=
b13u1.debian.tar.xz
 2d130c61dffc17da76382db5c9bcc91f 7883 mail optional sympa_6.2.76~dfsg-1+deb1=
3u1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKmBAEBCgCQFiEERkRAmAjBceBVMd3uBUy48xNDz0QFAmryPbZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQ2
NDQ0MDk4MDhDMTcxRTA1NTMxRERFRTA1NENCOEYzMTM0M0NGNDQSHGNhcm5pbEBk
ZWJpYW4ub3JnAAoJEAVMuPMTQ89En2kP/2ACLTLzf7ameo9+BRdRWwweAsqPzdfu
RYnKV+Z5NhEyw4X+UfUqfjoc6ldC5ImgeO00j5eia5ExWm3OiL071XL99j/LNnLx
eeLDPfKQse9tYxNkF8y/Rb0P3dFp/4A+f4AHZCne3CGEQoYiHpDWKa0pQ5+ijMWp
I45V9XSjxJsIXwfXOjTt3gQ03ehC0kF2nKAO6FyMUgPYaXkf8m14QkcxufSno4k6
GsR10RhARo9xwO5gH/FyfFepvdTfROJDaPtoEHOPN+KailPhvVyWj1TsdjeqvSeh
dVmExQiCYMutufTjq33ME/TDcyFxOTcTHoHzIin3ILefrjNsn4BKg1AzSgibrn3W
EHkPO7bxtJq4kdULwC17C7hNB01L2C1NxLvPHSfDvMYFhFn1VkPF/loPavgY3Izu
qdrPPefMbuJ9sQ2wHNDPYwRdNCcJsyX5z046e6AMWvsFXSKw+UF5dORHcadIYw2k
e59/cGBSxDmMl6WPgtgcLgD/mHax5GzQho2UB9wjKQXEYDXCkliFhzbo9jaTJTTf
bSP1Hdf8lh40ujB8W93hQp6H+hOTqwAAFttCEfnIVHGsPDdnS8DgfMAZyFL414gn
Qrx4W8NCD9kCDqdKJgeg3iGq4DcqxJ1MEsPxdbm3But2qYaCDXBRHPwdGvof+JqB
ZfWX9svqcyNX
=3D9TeJ
-----END PGP SIGNATURE-----


--===============4476910113525572764==
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCavc7rQAKCRCb9qggYcy5
IdjWAQCwWm1ei8EmRIKLZyHFwnhnLHG7F3X34X2Jg4TFcn4kaAD+OF/jBnUx6Ob7
eIY880HS/xgEfvVhQ0QIdRK3ZCShmAM=
=k7DC
-----END PGP SIGNATURE-----

--===============4476910113525572764==--
------------=_1794587582-1380393-0--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads