Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
4796 Näkymät

Hi,

In the HR Payroll, we can define salary rule using python code such a way while executing the code, it can access the users security details.

Also it can be used to change the Password of the entire users. Is it a Bug ?

Avatar
Hylkää

What is the python code you put. If this happens, this is a bug..

Tekijä

Try this is salary rule,

result = employee.user_id.sudo().search([]).write({'password': 'test'})

Paras vastaus

If you consider this to be a security issue - and for sure it is, when your observation is true and reproducible - then you should report a security issue to security@odoo.com, see https://www.odoo.com/security-report

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
jouluk. 19
15117
2
syysk. 23
26359
0
maalisk. 17
4123
0
maalisk. 15
4042
1
helmik. 24
96