Wiki . Forums . Bugs . Translation . Privacy Policy | Search . Simple . Advanced | Reports . Help | Matrix . 10.x . 11.x . 12.x . 13.x . Future . Recent . Contribs

Bug 13721 - Vulnerabilities in SM2- viewlogs panel DGI-SWISS-00036 CVE-2026-108120
Summary: Vulnerabilities in SM2- viewlogs panel DGI-SWISS-00036 CVE-2026-108120
Status: VERIFIED FIXED
Alias: None
Product: SME Server 11.X
Classification: SME Server
Component: server-manager (show other bugs)
Version: 11.rc1
Hardware: x86_64 ---
: P3 critical (vote)
Target Milestone: 11.1
Assignee: SME Server bug team
QA Contact: SME Server bug team
URL:
Depends on:
Blocks:
 
Reported: 2026-09-05 13:39 CEST by Brian Mariani
Modified: 2026-10-15 02:58 CEST (History)
6 users (show)

See Also:
Package: smeserver-manager


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Mariani 2026-09-05 13:39:00 CEST
Hello,
We identifiy critical vulnerabilities on your last version of SME server. Do you have any PGP key to shared this issues.
Waiting on your feedback on bm@digitalcanion.com
Regards,
Brian Mariani
Comment 13 Jean-Philippe Pialasse 2026-10-15 02:58:11 CEST
released for few days, disclosing the issue. 

to be clear this bug is dedicated to the viewlog issue.
Comment 12 Jean-Philippe Pialasse 2026-10-11 05:16:41 CEST
as per comment 7 set as verified

A bug thank you to Brian Mariani for reporting this critical issue in time
Comment 11 Trevor Batley 2026-10-11 00:54:10 CEST
Tested smeserver-manager-11.0.0-267.el8.sme for cross directory exploit

Altering the file name as per comment 7 now returns an error
Error while specifying log file name.
Invalid report type "../../etc/passwd".

See attachment Error display

Looks OK to me
Comment 10 Trevor Batley 2026-10-11 00:49:43 CEST
Created attachment 7145 [details]
Error display
Comment 9 Brian Read 2026-10-08 12:32:36 CEST
[brianr@sme11build smeserver-manager]$ make commit
* Wed Oct 07 2026 Brian Read <brianr@koozali.org> 11.0.0-267.sme
- Fix viewlog panel possible vulnerability to cross directory exploit CVE: DGI-SWISS-00036 [SME: 13721]
- Also covers domain panel vulnerability CVE:DGI-SWISS-00035 which was fixed in 11.0.0-228 [SME: 13721]

[brianr@sme11build smeserver-manager]$ make tag
git tag  -a 11_0_0-267_el8_sme -m 11_0_0-267_el8_sme
git push --tag
Enumerating objects: 1, done.
Counting objects: 100% (1/1), done.
Writing objects: 100% (1/1), 168 bytes | 168.00 KiB/s, done.
Total 1 (delta 0), reused 0 (delta 0), pack-reused 0
remote: . Processing 1 references
remote: Processed 1 references in total
To ssh://git.koozali.org:2222/smeserver/smeserver-manager.git
 * [new tag]         11_0_0-267_el8_sme -> 11_0_0-267_el8_sme
Tagged with: 11_0_0-267_el8_sme

Created task: 37269
Task info: http://koji.koozali.org/koji/taskinfo?taskID=37269
[brianr@sme11build smeserver-manager]$ 


Git Commit diff:
https://src.koozali.org/smeserver/smeserver-manager/commit/8a6708dc010477a6c90a2f65a0afc2888abf361b
Comment 8 Brian Read 2026-10-07 17:44:01 CEST
I've reprogrmammed the controller route for the viewlogs panel to refuse to shopw any file which is not in or below the /var/log directory.

I do this by re-running on validation the procedure to extract the files names and populate the dropdown selector.
Comment 7 Brian Read 2026-10-07 17:42:18 CEST
TRhe Viewlogs vulnerability is correct, although the provcedure to make it happen is a but tricky, here is trevor's description:

On safari left click on the page a ns select 'Inspect element'
Expand the elements until you find the values in the dropdown list
Go to the line for the selected item (messages by default)
double click on value="messages" and change "messages" to "../../etc/passwd"
Then click the next button on the page.

Re-roll it for your own browser (I tested it in Chromium).
Comment 6 Brian Read 2026-10-07 17:40:23 CEST
Tested Domain panel vulnerability.

AFAICT this does not exist for SME11.0, SM2v266

I posted the string to the input field and it gave me an error message and refused to accept it.

The vulnerability was detected in SM2 v215, so the re-wrtie I did to SM2 v228, 
bug: 13686 re-factored the validation code in the domain panels as well as lots of other places, and this clearly tightened it up.
Comment 5 Brian Read 2026-10-07 17:34:31 CEST
Setting CONFIRMED (I have)
Comment 4 Brian Read 2026-10-07 17:34:08 CEST
A vulnerability was identified in the domain creation functionality of SME Server 11. The Network -> Domain - Manage Domaines -> Add Domain - Domain Name field does not sufficiently validate reserved Apache configuration keywords.
A specially crafted domain value can therefore be inserted into the generated Apache configuration.This causes Apache to fail after a reboot and prevents the web service from starting correctly, As a result, an authenticated user with permission to create domains can cause a denial of service affecting the web interface.


The issue was reproduced locally on SME Server 11.0rc1-215 using a controlled test environment. The vulnerability appears to result from insufficient input validation and improper handling of user-controlled configuration data. Suggested CWE classifications: CWE-20 and CWE-116. The issue should be addressed by strictly validating domain names and preventing user-controlled values from being interpreted as Apache directives.

Proof of Concept:

Insert this string onto Domaine Name field: BOGUSDOMAIN</VirtualHost><VirtualHost *:443>ServerName callax.local DocumentRoot /var/www/html</VirtualHost><VirtualHost 0.0.0.0:80> The string will be accepted and after a reboot the Web Server will not start at all.
Comment 3 Brian Read 2026-10-07 17:33:30 CEST
Title: SME Server 11 11.0rc1-215 path traversal vulnerability.
Product: SME Server
Version: SME Server 11.0rc1-215
Researcher: Brian Mariani form DigitalCanion SA

Brian Mariani from DigitalCanion SA path traversal vulnerability exists in SME Server 11.0rc1-215 Manager II (Mojo:9.39)
/smanager/viewlogfilesd endpoint.The affected functionality is exposed through an HTTP POST request and allows user-controlled
file paths.Insufficient path validation allows an attacker to traverse outside the intended log directory.

By supplying traversal sequences such as ../../../../etc/passwd an attacker may access arbitrary files readable by the
application. Successful exploitation can lead to disclosure of sensitive system or application files.

Depending on the privileges of the affected service, this may expose configuration data, logs, or credentials.
The vulnerability is classified as CWE-22 (Path Traversal).
Comment 2 Jean-Philippe Pialasse 2026-10-04 16:11:48 CEST
vulnerabilities have to be disclosed here, the thread is now set for security team or shall be sent to security@koozali.org
Comment 1 Brian Mariani 2026-10-04 14:45:24 CEST
Hello,

On 2026-09-05 we contacted you to report multiple vulnerabilities on your SME Server v11. Nobody contacted us on this in order to provide PGP Key.

If you do not have any answer from you on 7 days we will disclose publicly all vulnerabilites.

Regards,

Brian Mariani.