Loading...
 
Skip to main content

There is no control on the value entered for month at tiki-syslog.php

Status
Closed
Subject
There is no control on the value entered for month at tiki-syslog.php
Version
27.x
29.x
master
30.x
Category
  • Bug
  • Easy for Newbie Dev
Feature
Logs (system & action)
Resolution status
Fixed or Solved
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

At tiki-syslog.php it is possible to delete older logs by using the field "Clean logs older than".
This field is expecting a numeric value (the number of month) but it is possible to type anything, even text.

https://example.com/tiki-syslog.php?months=tikiwiki&clean=Clean
Then land on the "Please confirm action" dialog (without knowing what we confirm ?) and execute the action.

It should not be possible to type something else than a number and the user should be warned way ahead:
"You must enter a number of month..." or something like that.

Solution
Workaround
Importance
8
Easy to solve?
10 easy
Priority
80
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8712
Created
Sunday 13 October, 2024 09:11:09 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Wednesday 07 May, 2025 07:39:06 UTC


Show PHP error messages