Yesterday, August 3, when I logged into my own photo album site using Piwigo version 14.4, the site redirected to other pornographic urls.
I checked the site later and found that malicious people had written malicious HTML code to some fields in my piwigo database.
However, I am not a professional in this field, I do not understand how the attacker wrote my database, I deleted the original site information after the attack, resulting in the imperfect preservation of the attacked information, only leaving these two pictures and the malicious HTML code that the attacker wrote to the SQL database.
The following line is malicious HTML code that the attacker injected into the field values of my SQL database: '"\><meta http-equiv="refresh" content="0;url=https://www.highratecpm.com/zjf065d3?key=7d12071e2113ba80d9395f1c5a19b3cf">
I am from China, using the translation software to write this paragraph, there may be some parts of the expression is not correct.
I am sure that I am using piwigo version 14.4, but I did not find any security updates in version 14.5, so I hope to get a reply, whether this problem has been fixed or no one has found or encountered it.
Yesterday, August 3, when I logged into my own photo album site using Piwigo version 14.4, the site redirected to other pornographic urls.
I checked the site later and found that malicious people had written malicious HTML code to some fields in my piwigo database.
However, I am not a professional in this field, I do not understand how the attacker wrote my database, I deleted the original site information after the attack, resulting in the imperfect preservation of the attacked information, only leaving these two pictures and the malicious HTML code that the attacker wrote to the SQL database.


The following line is malicious HTML code that the attacker injected into the field values of my SQL database:
` '"\><meta http-equiv="refresh" content="0;url=https://www.highratecpm.com/zjf065d3?key=7d12071e2113ba80d9395f1c5a19b3cf"> `
I am from China, using the translation software to write this paragraph, there may be some parts of the expression is not correct.
I am sure that I am using piwigo version 14.4, but I did not find any security updates in version 14.5, so I hope to get a reply, whether this problem has been fixed or no one has found or encountered it.
<!-- github-sync-id:2446449996 -->
I do not understand how the attacker wrote my database
Same for me. From what I can see, it seems obvious that the change in the database have been made with an SQL query, directly in your database manager. What I mean is that somebody performed an update piwigo_activity set action='malicious HTML'; and I don't see any evidence that they were performed thanks to a vulnerability in Piwigo code. An access to your database manager is enough, whatever the web application using the database.
Hi @SiverKing
> I do not understand how the attacker wrote my database
Same for me. From what I can see, it seems obvious that the change in the database have been made with an SQL query, directly in your database manager. What I mean is that somebody performed an `update piwigo_activity set action='malicious HTML';` and I don't see any evidence that they were performed thanks to a vulnerability in Piwigo code. An access to your database manager is enough, whatever the web application using the database.
<!-- github-comment-id:2276065825 -->
Hi @plegall
Thanks for replying to me, it doesn't look like a Piwigo bug. It is possible that my database has been leaked by malicious connections, then I will continue to pay attention to whether similar situations occur in the future, and increase the security of my database.
Hi @plegall
Thanks for replying to me, it doesn't look like a Piwigo bug. It is possible that my database has been leaked by malicious connections, then I will continue to pay attention to whether similar situations occur in the future, and increase the security of my database.
<!-- github-comment-id:2282660360 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Yesterday, August 3, when I logged into my own photo album site using Piwigo version 14.4, the site redirected to other pornographic urls.


I checked the site later and found that malicious people had written malicious HTML code to some fields in my piwigo database.
However, I am not a professional in this field, I do not understand how the attacker wrote my database, I deleted the original site information after the attack, resulting in the imperfect preservation of the attacked information, only leaving these two pictures and the malicious HTML code that the attacker wrote to the SQL database.
The following line is malicious HTML code that the attacker injected into the field values of my SQL database:
'"\><meta http-equiv="refresh" content="0;url=https://www.highratecpm.com/zjf065d3?key=7d12071e2113ba80d9395f1c5a19b3cf">I am from China, using the translation software to write this paragraph, there may be some parts of the expression is not correct.
I am sure that I am using piwigo version 14.4, but I did not find any security updates in version 14.5, so I hope to get a reply, whether this problem has been fixed or no one has found or encountered it.
Hi @SiverKing
Same for me. From what I can see, it seems obvious that the change in the database have been made with an SQL query, directly in your database manager. What I mean is that somebody performed an
update piwigo_activity set action='malicious HTML';and I don't see any evidence that they were performed thanks to a vulnerability in Piwigo code. An access to your database manager is enough, whatever the web application using the database.Hi @plegall
Thanks for replying to me, it doesn't look like a Piwigo bug. It is possible that my database has been leaked by malicious connections, then I will continue to pay attention to whether similar situations occur in the future, and increase the security of my database.
I close this issue for now, as long as we have no evidence a bug in Piwigo is the origin of the hack.