Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ganti metode hapus file lama pada menu update foto pengguna #189

Closed
pandigresik opened this issue Aug 11, 2023 · 1 comment
Closed

Ganti metode hapus file lama pada menu update foto pengguna #189

pandigresik opened this issue Aug 11, 2023 · 1 comment
Assignees
Labels
security Keamanan
Milestone

Comments

@pandigresik
Copy link

Menu :
Pengaturan - Pengguna, edit salah satu pengguna

Saat ini file yang dihapus berdasarkan request yang dikirim oleh form (field oldPhoto), hal ini dapat dimanfaatkan oleh penyerang untuk menghapus file lain yang seharusnya tidak dihapus.

Solusi :
File yang dihapus bisa diambil dari database langsung, sehingga meminimalisir kesalahan

@pandigresik pandigresik added the security Keamanan label Aug 11, 2023
@pandigresik pandigresik self-assigned this Aug 11, 2023
@pandigresik pandigresik added this to the M3 PBB 23.09 milestone Aug 12, 2023
@vickyrolanda
Copy link

Sudah diselesaikan di PR https://github.com/OpenSID/pbb_desa/pull/206

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security Keamanan
Projects
None yet
Development

No branches or pull requests

2 participants