Some antiviruses on my phone show that two factory apps (one of them is camera) have a virus. Тhis virus in the system folder of the camera.
If the virus is actually in the camera, then perhaps it will gain access to the permissions that the camera application has ?